瀏覽代碼

fix(toolbar): ensure centered toolbar

Maybe there is a case that can be triggered somehow where
the toolbar becomes off center.
master
Leonard Kim 7 年之前
父節點
當前提交
78866b0dd7
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      css/_toolbars.scss

+ 4
- 0
css/_toolbars.scss 查看文件

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…
取消
儲存