summaryrefslogtreecommitdiff
path: root/src/components/Config.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-11-17 17:31:59 +0800
committerHaishan <[email protected]>2019-11-17 17:31:59 +0800
commitc28ff93b67a3da5cbff0d2ffeddfc16fd1dd3438 (patch)
tree0c3d6fd0964ffcb00078e4fda52ecd03e39b4dce /src/components/Config.module.css
parent0df74757914123d55b2a627efc7bda62fc9fd458 (diff)
refactor: improve UI for small screens
Diffstat (limited to 'src/components/Config.module.css')
-rw-r--r--src/components/Config.module.css18
1 files changed, 13 insertions, 5 deletions
diff --git a/src/components/Config.module.css b/src/components/Config.module.css
index 2f9fad2..d7fa40a 100644
--- a/src/components/Config.module.css
+++ b/src/components/Config.module.css
@@ -1,17 +1,25 @@
.root {
- padding: 10px 40px 40px;
-
> div {
- width: 360px;
+ min-width: 345px;
+ @media (--breakpoint-not-small) {
+ width: 360px;
+ }
}
}
+.root,
.section {
- padding: 10px 40px 40px;
+ padding: 6px 15px 15px;
+ @media (--breakpoint-not-small) {
+ padding: 10px 40px 40px;
+ }
}
.sep {
- padding: 0 40px;
+ padding: 0 15px;
+ @media (--breakpoint-not-small) {
+ padding: 0 40px;
+ }
> div {
border-top: 1px dashed #373737;
}