| 1 |
/** |
| 2 |
* Shared vertical alignment for navigation language switcher. |
| 3 |
*/ |
| 4 |
|
| 5 |
.wp-block-navigation .wp-block-polylang-navigation-language-switcher { |
| 6 |
align-self: center; |
| 7 |
} |
| 8 |
|
| 9 |
.wp-block-polylang-navigation-language-switcher :is( a, .wp-block-navigation-item__content ) { |
| 10 |
display: inline-flex; |
| 11 |
align-items: center; |
| 12 |
width: auto; |
| 13 |
max-width: none; |
| 14 |
vertical-align: middle; |
| 15 |
} |
| 16 |
|
| 17 |
.wp-block-polylang-navigation-language-switcher :is( a, .wp-block-navigation-item__content ):has( .pll-switcher-flag ) { |
| 18 |
line-height: 0; |
| 19 |
} |
| 20 |
|
| 21 |
.wp-block-polylang-navigation-language-switcher .pll-switcher-label, |
| 22 |
.wp-block-polylang-navigation-language-switcher .wp-block-navigation-item__label { |
| 23 |
display: inline-flex; |
| 24 |
align-items: center; |
| 25 |
width: auto; |
| 26 |
line-height: normal; |
| 27 |
} |
| 28 |
|
| 29 |
.wp-block-polylang-navigation-language-switcher .pll-switcher-flag { |
| 30 |
display: flex; |
| 31 |
align-items: center; |
| 32 |
} |
| 33 |
|
| 34 |
/** |
| 35 |
* Navigation language switcher block (frontend). |
| 36 |
*/ |
| 37 |
|
| 38 |
|