fix(locale-switcher): size flag SVG in closed trigger
The original CSS scoped .flag to .locale-switcher__option only, so the flag SVG inside the <summary> trigger rendered at 0x0 (intrinsic svg defaults). Add a .locale-switcher .flag rule so the closed trigger visibly shows a 24x16 flag. Playwright recheck: trigger 52x44, flag 24x16 (matches previous inline flags). 141/141 PHPUnit green.
This commit is contained in:
@@ -1566,6 +1566,15 @@ footer {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.locale-switcher .flag {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
flex: 0 0 24px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px rgb(0 0 0 / 15%);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.locale-switcher__option .flag {
|
||||
width: 24px;
|
||||
height: 16px;
|
||||
|
||||
Reference in New Issue
Block a user