DEV: Apply flex-direction: column on .d-header (#26658)

This doesn't change anything in 99.9% of cases - by default d-header has only one child element `.wrap`.

There are only two themes that I'm aware of that add another child:
1. discourse-categories-navbar - which I'm currently updating to use the new header APIs, and where the column layout makes more sense
2. a private theme, which was recently updated to use those APIs and that works around the current layout by applying `flex-wrap: wrap` to d-header (I'll remove that override as it conflicts with this change)
This commit is contained in:
Jarek Radosz
2024-04-17 23:00:55 +02:00
committed by GitHub
parent 7ce5eac235
commit 84efa66cc1

View File

@@ -11,6 +11,7 @@
.d-header {
display: flex;
align-items: center;
flex-direction: column;
width: 100%;
background-color: var(--header_background);
box-shadow: var(--shadow-header);