feat(ui): improve changelog styling and spacing

- Remove left padding from changelog content container
- Add consistent padding to all changelog items
- Simplify latest changelog item styling by removing redundant padding
- Maintain visual distinction for latest items with background and border
This commit is contained in:
Will Miao
2026-02-28 20:47:44 +08:00
parent ce03bbbc4e
commit b005961ee5

View File

@@ -250,12 +250,11 @@
.changelog-content { .changelog-content {
max-height: 550px; max-height: 550px;
overflow-y: auto; overflow-y: auto;
padding-left: var(--space-3);
} }
.changelog-item { .changelog-item {
margin-bottom: var(--space-2); margin-bottom: var(--space-2);
padding-bottom: var(--space-2); padding: var(--space-2);
border-bottom: 1px solid var(--lora-border); border-bottom: 1px solid var(--lora-border);
} }
@@ -302,8 +301,7 @@
.changelog-item.latest { .changelog-item.latest {
background-color: rgba(66, 153, 225, 0.05); background-color: rgba(66, 153, 225, 0.05);
border-radius: var(--border-radius-sm); border-radius: var(--border-radius-sm);
padding: var(--space-2);
border: 1px solid rgba(66, 153, 225, 0.2); border: 1px solid rgba(66, 153, 225, 0.2);
} }