瀏覽代碼

make container fullscreen

dwelle 5 年之前
父節點
當前提交
250fbe2e1e
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/styles.css

+ 11 - 0
src/styles.css

@@ -12,6 +12,11 @@ body {
 
 .container {
   display: flex;
+  position: fixed;
+  top: 0;
+  bottom: 0;
+  left: 0;
+  right: 0;
 }
 
 .sidePanel {
@@ -19,6 +24,7 @@ body {
   background-color: #eee;
 
   padding: 10px;
+  overflow-y: auto;
 }
 
 .sidePanel h4 {
@@ -27,6 +33,11 @@ body {
 
 .sidePanel .panelTools {
   display: flex;
+  justify-content: space-between;
+}
+
+.sidePanel .panelTools label {
+  margin: 0;
 }
 
 .sidePanel .panelColumn {