mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user