style: 统一导航与目录的直角满行布局
This commit is contained in:
+12
-8
@@ -61,6 +61,12 @@ body {
|
||||
.admin-sider {
|
||||
height: 100%;
|
||||
}
|
||||
/* Naive 菜单背景默认左右内缩 8px;只铺满导航行,不改图标与文字缩进。 */
|
||||
.admin-sider .n-menu .n-menu-item-content::before {
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.admin-brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -452,11 +458,11 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 8px 10px 16px;
|
||||
padding: 8px 0 16px;
|
||||
}
|
||||
.directory-group-heading {
|
||||
flex-shrink: 0;
|
||||
padding: 14px 6px 2px;
|
||||
padding: 14px 14px 2px;
|
||||
font:
|
||||
11px/1.6 ui-monospace,
|
||||
monospace;
|
||||
@@ -472,7 +478,7 @@ body {
|
||||
height: auto;
|
||||
min-height: 88px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 5px;
|
||||
border-radius: 0;
|
||||
white-space: normal;
|
||||
text-align: left;
|
||||
}
|
||||
@@ -673,14 +679,15 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 4px 10px 18px;
|
||||
padding: 4px 0 18px;
|
||||
}
|
||||
.n-button.reader-episode-link {
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
min-height: 64px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 5px;
|
||||
border-radius: 0;
|
||||
color: var(--app-muted);
|
||||
white-space: normal;
|
||||
text-align: left;
|
||||
@@ -762,9 +769,6 @@ body {
|
||||
padding: 16px 12px 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.reader-directory-content {
|
||||
padding-inline: 6px;
|
||||
}
|
||||
.n-button.reader-episode-link {
|
||||
padding: 12px 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user