Polish changes panel toolbar state

This commit is contained in:
Bohdan Triapitsyn
2026-06-14 14:48:24 +03:00
parent 1c281df3b7
commit c92b540e7f
4 changed files with 68 additions and 244 deletions
+2 -25
View File
@@ -857,14 +857,8 @@ html:not(.dark) .chat-scroll {
}
}
/* Diff toolbar: drop low-priority labels as the context panel narrows. */
@container diff-toolbar (max-width: 34rem) {
.diff-toolbar__file-stats {
display: none;
}
}
@container diff-toolbar (max-width: 40rem) {
/* Diff toolbar: drop low-priority labels only when the context panel is genuinely tight. */
@container diff-toolbar (max-width: 28rem) {
.diff-toolbar__scope-count,
.diff-toolbar__expand-label {
display: none;
@@ -875,23 +869,6 @@ html:not(.dark) .chat-scroll {
}
}
@container diff-toolbar (max-width: 29rem) {
.diff-toolbar__file-label {
display: none;
}
.diff-toolbar__file-trigger {
flex: 0 0 auto;
gap: 0.375rem;
padding-inline: 0.625rem;
}
.diff-toolbar__file-trigger-content {
flex: 0 0 auto;
gap: 0;
}
}
/* Status row: collapse optional text when narrow to keep both sides in one line. */
@container status-row (max-width: 30rem) {
.status-row__active-todo {