Browse Source

fix(toolbar): ensure centered toolbar

Maybe there is a case that can be triggered somehow where
the toolbar becomes off center.
j8
Leonard Kim 7 years ago
parent
commit
78866b0dd7
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      css/_toolbars.scss

+ 4
- 0
css/_toolbars.scss View File

39
     box-sizing: border-box;
39
     box-sizing: border-box;
40
     display: flex;
40
     display: flex;
41
     justify-content: space-between;
41
     justify-content: space-between;
42
+    left: 0;
43
+    margin-left: auto;
44
+    margin-right: auto;
42
     padding: 12px 8px;
45
     padding: 12px 8px;
43
     position: absolute;
46
     position: absolute;
47
+    right: 0;
44
     transition: bottom .3s ease-in;
48
     transition: bottom .3s ease-in;
45
     width: 100%;
49
     width: 100%;
46
     z-index: $toolbarZ;
50
     z-index: $toolbarZ;

Loading…
Cancel
Save