Skip to content

Commit 789fbb4

Browse files
committed
Some Design fixes
Signed-off-by: szaimen <[email protected]>
1 parent e96f62b commit 789fbb4

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

src/components/EditorWrapper.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,11 +582,12 @@ export default {
582582
583583
.save-status {
584584
display: inline-flex;
585-
align-items: center;
586585
padding: 0;
587-
padding-right: 12px;
588586
text-overflow: ellipsis;
589587
color: var(--color-text-lighter);
588+
position: relative;
589+
top: 10px;
590+
min-width: 85px;
590591
591592
&.error {
592593
background-color: var(--color-error);
@@ -605,7 +606,6 @@ export default {
605606
}
606607
607608
#editor-session-list {
608-
padding-right: 16px;
609609
display: flex;
610610
611611
input, div {

src/components/MenuBar.vue

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,11 @@ export default {
331331
top: 0;
332332
display: flex;
333333
justify-content: flex-end;
334-
z-index: 10010; // above modal-header so buttons are clickable
334+
z-index: 10021; // above modal-header and menububble so menubar is always on top
335335
background-color: var(--color-main-background-translucent);
336336
-webkit-backdrop-filter: var(--background-blur);
337337
backdrop-filter: var(--background-blur);
338-
height: 50px;
338+
min-height: 50px; // important for mobile so that the buttons are always inside the container
339339
padding-top:3px;
340340
padding-bottom: 3px;
341341
@@ -405,14 +405,6 @@ export default {
405405
opacity: .4;
406406
}
407407
}
408-
409-
&.icon-redo {
410-
margin-right: 22px;
411-
}
412-
413-
&.icon-ul {
414-
margin-left: 22px;
415-
}
416408
}
417409
418410
.menubar .submenu {

0 commit comments

Comments
 (0)