diff options
| author | Larvan2 <[email protected]> | 2025-12-31 21:12:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-31 21:12:32 +0800 |
| commit | 53caaddade7b16ec2ca4cc2b4a5959f3fb044009 (patch) | |
| tree | 79b2d6f55ee80ff41bf6d986f053bf90027831bf /src | |
| parent | e3f02d21a942dbab75a50bf91c9ed257b9d24971 (diff) | |
| parent | 25c34e00c6036dc3a033b4704cee4b7a29c6cabc (diff) | |
Merge pull request #105 from colorsakura/dev
fix: 修复图标对齐的问题
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/SideBar.module.scss | 4 | ||||
| -rw-r--r-- | src/components/shared/ThemeSwitcher.module.scss | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/components/SideBar.module.scss b/src/components/SideBar.module.scss index f7e7eab..1cbd71f 100644 --- a/src/components/SideBar.module.scss +++ b/src/components/SideBar.module.scss @@ -106,6 +106,10 @@ bottom: 10px; left: 50%; transform: translateX(-50%); + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; } @media (max-width: 768px) { diff --git a/src/components/shared/ThemeSwitcher.module.scss b/src/components/shared/ThemeSwitcher.module.scss index d2f296a..c614137 100644 --- a/src/components/shared/ThemeSwitcher.module.scss +++ b/src/components/shared/ThemeSwitcher.module.scss @@ -24,6 +24,8 @@ position: relative; display: flex; align-items: center; + justify-content: center; + width: var(--sz); height: var(--sz); select { cursor: pointer; |
