diff options
| author | Larvan2 <[email protected]> | 2026-03-15 15:01:57 +0800 |
|---|---|---|
| committer | Larvan2 <[email protected]> | 2026-03-15 15:01:57 +0800 |
| commit | 0e420859f5f7011ba124c965d8319bf3bf4c5fe3 (patch) | |
| tree | 2fc344b757e119ebae6e0b6243121fddba61603c /src/components/Rules.module.scss | |
| parent | 17c4d2855ffb6914fcbece27367bafdd27a4c182 (diff) | |
refactor: reorganize code
Diffstat (limited to 'src/components/Rules.module.scss')
| -rw-r--r-- | src/components/Rules.module.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/Rules.module.scss b/src/components/Rules.module.scss index 67cc61b..d56b182 100644 --- a/src/components/Rules.module.scss +++ b/src/components/Rules.module.scss @@ -11,6 +11,8 @@ max-width: 300px; @media (max-width: 768px) { + order: 3; + flex: 1 1 100%; max-width: none; margin-top: 8px; } @@ -41,7 +43,9 @@ padding: 4px; @media (max-width: 768px) { - flex: 1; + order: 1; + flex: 1 1 100%; + width: 100%; } } @@ -62,6 +66,8 @@ font-size: 0.85em; flex: 1; justify-content: center; + min-width: 0; + white-space: nowrap; } &:hover { @@ -88,4 +94,5 @@ border-radius: 10px; font-weight: 600; min-width: 20px; + flex-shrink: 0; } |
