소스 검색

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 {