Keep narrow headings aligned and expanded history contained
This commit is contained in:
@@ -1552,7 +1552,7 @@
|
||||
.ds-habit-list .ds-habit-chart-heading > .ds-counter { flex: 0 1 auto; }
|
||||
.ds-habit-list .ds-habit-chart-progress { margin: 8px 0 0 !important; justify-content: flex-start; flex-wrap: wrap; gap: 8px 16px; }
|
||||
.ds-habit-list .ds-habit-chart-progress > span + span { color: var(--ds-ink); }
|
||||
.ds-habit-list .ds-habit-history { justify-self: end; margin-top: 8px; }
|
||||
.ds-habit-list .ds-habit-history { min-width: 0; max-width: 100%; justify-self: end; margin-top: 8px; }
|
||||
.ds-habit-list .ds-habit-history:has([aria-expanded="true"]) { grid-column: 1 / -1; justify-self: stretch; }
|
||||
.ds-habit-list .ds-task-accordion { grid-column: 1 / -1; }
|
||||
.ds-habit-history-toggle { display: inline-flex; align-items: center; gap: 8px; @apply type-small; color: var(--ds-secondary); }
|
||||
@@ -1582,7 +1582,7 @@
|
||||
.ds-habit-list .ds-habit-chart-heading > div:first-child { flex-basis: 100%; }
|
||||
.ds-habit-list > .ds-habit-chart { grid-template-columns: minmax(0, 1fr); }
|
||||
.ds-habit-list .ds-habit-history { justify-self: start; }
|
||||
.ds-habits-section .ds-section-top { gap: 16px; }
|
||||
.ds-habits-section .ds-section-top { gap: 16px; align-items: flex-start; }
|
||||
}
|
||||
@media (forced-colors: active) {
|
||||
.ds-habit-filters .ds-button[aria-pressed="true"] { border-color: Highlight; }
|
||||
|
||||
Reference in New Issue
Block a user