mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-15 10:34:35 +08:00
fix: normalize mobile input dividers
This commit is contained in:
@@ -653,9 +653,14 @@ html[data-theme-radius='extra'] {
|
||||
padding-block: 0;
|
||||
}
|
||||
|
||||
// 只在相邻移动录入行之间显示分隔线,避免表单最后一行出现多余底线。
|
||||
.v-row > :is(.v-col, [class*='v-col-']) + :is(.v-col, [class*='v-col-']) > .app-responsive-input {
|
||||
border-block-start: 1px solid rgba(var(--v-theme-on-surface), 0.12);
|
||||
// 当前输入行后面还有可见输入行时才显示分隔线,避免跨 VRow 断线或最后一行多出底线。
|
||||
.v-row > :is(.v-col, [class*='v-col-']):has(> .app-responsive-input):has(
|
||||
~ :is(.v-col, [class*='v-col-']):has(> .app-responsive-input)
|
||||
) > .app-responsive-input,
|
||||
.v-row:has(
|
||||
~ .v-row:not([style*='display: none']) > :is(.v-col, [class*='v-col-']):has(> .app-responsive-input)
|
||||
) > :is(.v-col, [class*='v-col-']):has(> .app-responsive-input) > .app-responsive-input {
|
||||
border-block-end: 1px solid rgba(var(--v-theme-on-surface), 0.12);
|
||||
}
|
||||
|
||||
// 桌面也占满 12 格的字段在移动端改为上下两行,避免长输入只挤在右侧。
|
||||
|
||||
Reference in New Issue
Block a user