style: 优化模态框和卡片组件的样式

调整模态框宽度属性以改善响应式布局,移除卡片底部外边距并统一间距
This commit is contained in:
anghunk
2026-02-03 15:01:43 +08:00
parent a22e1ff5a8
commit b304f52ceb
2 changed files with 4 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ button {
.page {
display: flex;
flex-direction: column;
gap: 12px;
gap: 15px;
}
.page-title {
@@ -63,14 +63,11 @@ button {
color: var(--color-danger);
}
.card {
background-color: var(--bg-card);
border-radius: 6px;
border: 1px solid var(--border-color);
padding: 12px 18px;
margin-bottom: 1em;
}
.card-header {

View File

@@ -369,8 +369,9 @@ function closeVersionModal() {
.modal {
background-color: var(--bg-card);
border-radius: 10px;
width: 420px;
max-width: 100%;
max-width: 420px;
width: 100%;
margin: 10px;
padding: 20px 20px 18px;
box-shadow: var(--shadow-card);
display: flex;