Refine changes panel controls
This commit is contained in:
@@ -857,6 +857,41 @@ 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__scope-count,
|
||||
.diff-toolbar__expand-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.diff-toolbar__expand-button {
|
||||
padding-inline: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@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 {
|
||||
|
||||
Reference in New Issue
Block a user