Compare commits
2 Commits
256d465637
...
8e92c5ae3e
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e92c5ae3e | |||
| 5bf8123001 |
@ -725,3 +725,127 @@
|
||||
overflow-x: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 桌面端按浏览器窗口布局,避免设置抽屉宽度误触发移动端容器规则。 */
|
||||
@media (min-width: 768px) {
|
||||
.security-settings-card .security-key-header {
|
||||
display: grid !important;
|
||||
grid-template-columns: minmax(0, 1fr) max-content !important;
|
||||
grid-template-rows: auto auto !important;
|
||||
grid-template-areas:
|
||||
"title actions"
|
||||
"description description";
|
||||
align-items: center !important;
|
||||
column-gap: 16px !important;
|
||||
row-gap: 8px !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > :first-child {
|
||||
display: contents !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > :first-child > h3 {
|
||||
grid-area: title !important;
|
||||
align-self: center !important;
|
||||
margin: 0 !important;
|
||||
line-height: 1.4 !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > :first-child > .settings-desc {
|
||||
grid-area: description !important;
|
||||
min-width: 0 !important;
|
||||
margin: 0 !important;
|
||||
line-height: 1.5 !important;
|
||||
white-space: normal !important;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > .security-recovery-actions {
|
||||
display: flex !important;
|
||||
grid-area: actions !important;
|
||||
flex: 0 0 auto !important;
|
||||
flex-flow: row nowrap !important;
|
||||
align-items: center !important;
|
||||
justify-content: flex-end !important;
|
||||
align-self: center !important;
|
||||
justify-self: end !important;
|
||||
gap: 8px !important;
|
||||
width: max-content !important;
|
||||
min-width: max-content !important;
|
||||
max-width: none !important;
|
||||
height: 36px !important;
|
||||
min-height: 36px !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: visible !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > .security-recovery-actions > .el-button {
|
||||
display: inline-flex !important;
|
||||
flex: 0 0 auto !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
width: max-content !important;
|
||||
min-width: max-content !important;
|
||||
height: 36px !important;
|
||||
min-height: 36px !important;
|
||||
max-height: 36px !important;
|
||||
box-sizing: border-box !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 14px !important;
|
||||
line-height: 1 !important;
|
||||
white-space: nowrap !important;
|
||||
word-break: keep-all !important;
|
||||
overflow-wrap: normal !important;
|
||||
writing-mode: horizontal-tb !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > .security-recovery-actions > .el-button > span {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
height: 100% !important;
|
||||
max-width: none !important;
|
||||
overflow: visible !important;
|
||||
white-space: nowrap !important;
|
||||
line-height: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 移动端保留可横向滚动的按钮行,避免文字变形。 */
|
||||
@media (max-width: 767px) {
|
||||
.security-settings-card .security-key-header {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: stretch !important;
|
||||
gap: 12px !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > :first-child {
|
||||
display: block !important;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > :first-child > h3 {
|
||||
margin: 0 0 8px !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.security-settings-card .security-key-header > .security-recovery-actions {
|
||||
display: flex !important;
|
||||
flex-flow: row nowrap !important;
|
||||
align-items: center !important;
|
||||
align-self: stretch !important;
|
||||
justify-content: flex-start !important;
|
||||
width: 100% !important;
|
||||
min-width: 0 !important;
|
||||
max-width: 100% !important;
|
||||
height: 36px !important;
|
||||
min-height: 36px !important;
|
||||
overflow-x: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user