瀏覽代碼

Make the sidebar in settings fixed

jelveh 1 天之前
父節點
當前提交
a28cb11c34
共有 1 個文件被更改,包括 10 次插入2 次删除
  1. 10 2
      src/gui/src/css/style.css

+ 10 - 2
src/gui/src/css/style.css

@@ -3791,6 +3791,7 @@ fieldset[name=number-code] {
     -webkit-font-smoothing: antialiased;
     flex-grow: 1;
     position: relative;
+    height: 500px;
 }
 
 .settings-sidebar {
@@ -3798,10 +3799,13 @@ fieldset[name=number-code] {
     background-color: #f9f9f9;
     border-right: 1px solid #e0e0e0;
     padding: 20px;
-    position: relative;
+    position: fixed;
     margin-top: 1px;
+    height: 100%;
+    z-index: 1000;
 }
 
+
 .settings-sidebar-title {
     margin-bottom: 20px;
     font-weight: bold;
@@ -3834,8 +3838,12 @@ fieldset[name=number-code] {
 .settings-content-container {
     flex: 1;
     padding: 20px 30px;
-    height: 500px;
     overflow-y: auto;
+    margin-left: 240px;
+}
+
+.device-phone .settings-content-container {
+    margin-left: 0;
 }
 
 .settings-content {