更新客户端适配性问题
build-winui / winui (push) Has been cancelled
build-winui / winui (push) Has been cancelled
This commit is contained in:
@@ -33,6 +33,12 @@ html[data-theme="dark"] {
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.drag-light *,
|
||||
.drag-light *::before,
|
||||
.drag-light *::after {
|
||||
@@ -63,6 +69,9 @@ button {
|
||||
padding: 7px 12px;
|
||||
cursor: pointer;
|
||||
transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
|
||||
max-width: 100%;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
@@ -85,6 +94,8 @@ button.compact {
|
||||
.result-page {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.result-chrome,
|
||||
@@ -104,6 +115,7 @@ button.compact {
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
padding: 14px 16px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.result-chrome .identity {
|
||||
@@ -134,6 +146,7 @@ button.compact {
|
||||
margin: 0;
|
||||
font-size: clamp(1.05rem, 1.25vw, 1.45rem);
|
||||
line-height: 1.18;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.result-chrome .meta,
|
||||
@@ -146,6 +159,7 @@ button.compact {
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.result-chrome .metrics {
|
||||
@@ -156,6 +170,7 @@ button.compact {
|
||||
.blocks {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.details-drawer {
|
||||
@@ -307,6 +322,7 @@ h2 {
|
||||
.block {
|
||||
padding: 14px;
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.side-card {
|
||||
@@ -328,6 +344,17 @@ h2 {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.block-title h2,
|
||||
.paragraph,
|
||||
.muted,
|
||||
.meta,
|
||||
.item-body,
|
||||
.kv,
|
||||
.metric,
|
||||
.badge {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.block-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
@@ -347,6 +374,8 @@ h2 {
|
||||
background: var(--accent-soft);
|
||||
font-size: .74rem;
|
||||
font-weight: 800;
|
||||
max-width: 100%;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.kv-grid {
|
||||
@@ -378,6 +407,7 @@ h2 {
|
||||
.list-item strong {
|
||||
display: block;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.metric-grid .primary-kv {
|
||||
@@ -394,6 +424,9 @@ h2 {
|
||||
|
||||
.table-wrap {
|
||||
overflow: auto;
|
||||
max-width: 100%;
|
||||
max-height: min(58vh, 560px);
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
table {
|
||||
@@ -408,6 +441,10 @@ th {
|
||||
border-bottom: 1px solid var(--line);
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
min-width: 120px;
|
||||
max-width: 520px;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
th {
|
||||
@@ -432,6 +469,7 @@ th {
|
||||
gap: 10px;
|
||||
align-items: start;
|
||||
padding: 10px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.ranked-item {
|
||||
@@ -483,6 +521,9 @@ th {
|
||||
.rank-core {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.rank-1 {
|
||||
@@ -510,6 +551,7 @@ th {
|
||||
|
||||
.item-body {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.item-body strong {
|
||||
@@ -542,21 +584,29 @@ th {
|
||||
}
|
||||
|
||||
.code-wrap {
|
||||
max-height: 420px;
|
||||
max-height: min(62vh, 560px);
|
||||
overflow: auto;
|
||||
background: var(--panel-strong);
|
||||
max-width: 100%;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
padding: 12px;
|
||||
font-family: "Cascadia Mono", Consolas, monospace;
|
||||
font-size: .84rem;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.limit-note {
|
||||
padding: 8px 12px 10px;
|
||||
font-size: .78rem;
|
||||
}
|
||||
|
||||
.media-frame {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
|
||||
Reference in New Issue
Block a user