fix: clean mobile history layout
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
Admin 2026-09-23 11:07:42 +00:00
parent eeda34bc63
commit c91c059b31
2 changed files with 44 additions and 1 deletions

View File

@ -1,3 +1,7 @@
body:has(.workspace-view) .host-status {
display: none;
}
.host-status { .host-status {
position: fixed; position: fixed;
z-index: 80; z-index: 80;

View File

@ -214,10 +214,18 @@
} }
.history-view .empty-state { .history-view .empty-state {
display: grid;
min-height: 260px; min-height: 260px;
place-items: center;
align-content: center;
padding: 42px 20px; padding: 42px 20px;
border: 0; border: 0;
background: white; background: white;
text-align: center;
}
.history-view .empty-state > * {
min-width: 0;
} }
.history-view .empty-state > svg { .history-view .empty-state > svg {
@ -227,16 +235,21 @@
} }
.history-view .empty-state strong { .history-view .empty-state strong {
display: block;
margin-top: 12px; margin-top: 12px;
font-family: Georgia, serif; font-family: Georgia, serif;
font-size: 21px; font-size: 21px;
font-weight: 500; font-weight: 500;
line-height: 1.2;
} }
.history-view .empty-state span { .history-view .empty-state span {
margin-top: 5px; display: block;
max-width: 280px;
margin-top: 7px;
color: var(--history-muted); color: var(--history-muted);
font-size: 10px; font-size: 10px;
line-height: 1.5;
} }
.history-view .undo-toast svg { .history-view .undo-toast svg {
@ -256,9 +269,20 @@
} }
.history-view .view-heading { .history-view .view-heading {
gap: 18px;
padding-bottom: 16px; padding-bottom: 16px;
} }
.history-view .view-heading h1 {
font-size: clamp(34px, 11vw, 44px);
line-height: 1.05;
}
.history-view .view-heading p {
max-width: 100%;
line-height: 1.45;
}
.history-view .view-actions { .history-view .view-actions {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
@ -359,6 +383,21 @@
.history-view .empty-state { .history-view .empty-state {
min-height: 220px; min-height: 220px;
padding: 34px 18px;
}
.history-view .empty-state > svg {
width: 32px;
height: 32px;
}
.history-view .empty-state strong {
font-size: 22px;
}
.history-view .empty-state span {
max-width: 240px;
font-size: 11px;
} }
} }