浏览代码

fix: #1711 input range style in mobile screen

Yidadaa 1 年之前
父节点
当前提交
4ca34e0436
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      app/components/input-range.module.scss

+ 5 - 0
app/components/input-range.module.scss

@@ -4,4 +4,9 @@
   padding: 5px 15px 5px 10px;
   font-size: 12px;
   display: flex;
+  max-width: 40%;
+
+  input[type="range"] {
+    max-width: calc(100% - 50px);
+  }
 }