aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes
diff options
context:
space:
mode:
authorgeireann <60007097+geireann@users.noreply.github.com>2020-06-19 14:14:28 +0800
committergeireann <60007097+geireann@users.noreply.github.com>2020-06-19 14:14:28 +0800
commit10754a14c8d0dda68f2484e523f6901b3e7daee3 (patch)
tree7e7495746624949a3b9f7da85f3967af9e9e6b9e /src/client/views/nodes
parentcb5fa90bb580c2d618e279275c1e2cb49ce3d90c (diff)
css changes and bug fixes
Presentation Undo / Redo Image upload Record Audio
Diffstat (limited to 'src/client/views/nodes')
-rw-r--r--src/client/views/nodes/AudioBox.tsx2
-rw-r--r--src/client/views/nodes/PresBox.scss10
2 files changed, 5 insertions, 7 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 2e0be1c6a..cb0582d87 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -161,7 +161,7 @@ export class AudioBox extends ViewBoxBaseComponent<FieldViewProps, AudioDocument
const funcs: ContextMenuProps[] = [];
funcs.push({ description: (this.layoutDoc.playOnSelect ? "Don't play" : "Play") + " when document selected", event: () => this.layoutDoc.playOnSelect = !this.layoutDoc.playOnSelect, icon: "expand-arrows-alt" });
- ContextMenu.Instance.addItem({ description: "Options...", subitems: funcs, icon: "asterisk" });
+ ContextMenu.Instance?.addItem({ description: "Options...", subitems: funcs, icon: "asterisk" });
}
stopRecording = action(() => {
diff --git a/src/client/views/nodes/PresBox.scss b/src/client/views/nodes/PresBox.scss
index ccce6e627..e62aa48fb 100644
--- a/src/client/views/nodes/PresBox.scss
+++ b/src/client/views/nodes/PresBox.scss
@@ -105,15 +105,13 @@
}
.presBox-cont .presBox-buttons .presBox-button {
- margin-right: 10px;
- margin-left: 10px;
+ margin-top: 5%;
height: 250;
- width: 250;
- font-size: 70;
- border-radius: 25px;
+ width: 300;
+ font-size: 100;
display: flex;
align-items: center;
- background: #323232;
+ background: 323232;
color: white;
}