瀏覽代碼

Merge pull request #2134 from Yidadaa/bugfix-0625

fix: input-range style
Yifei Zhang 1 年之前
父節點
當前提交
5f7c262759
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      app/components/input-range.module.scss

+ 3 - 2
app/components/input-range.module.scss

@@ -1,12 +1,13 @@
 .input-range {
   border: var(--border-in-light);
   border-radius: 10px;
-  padding: 5px 15px 5px 10px;
+  padding: 5px 10px 5px 10px;
   font-size: 12px;
   display: flex;
+  justify-content: space-between;
   max-width: 40%;
 
   input[type="range"] {
-    max-width: calc(100% - 50px);
+    max-width: calc(100% - 34px);
   }
 }