Make navbar sticky and center align the navbar burger on mobile

This commit is contained in:
Keegan Rankin 2024-03-26 08:52:52 -07:00
parent 8a98723783
commit ed9a5a30b4

View file

@ -0,0 +1,26 @@
uuid: 16f0e340-e8c1-42f3-8be8-e25b8f89cd3e
langcode: en
status: true
dependencies:
module:
- block_visibility_groups
id: sticky_navbar
label: 'Sticky navbar'
code: |-
.navbar {
position: sticky;
top: 0;
}
.navbar-burger {
align-self: center;
}
media: all
preprocess: true
conditions:
condition_group:
id: condition_group
negate: false
block_visibility_group: ''
contexts: { }
conditions_require_all: true