Repository navigation
fix: settings submenu flag sizing and Back label alignment - #3119
Conversation
abjt14
commented
Oct 5, 2026
| Before | After |
|---|---|
![]() |
![]() |
![]() |
![]() |
- The language flags lost their 20x14 icon slot when the list moved onto SettingsSubmenuList (#3108). The flag <img> is sized 100% of its slot, so the viewBox-only en/es/fr SVGs stretched to the menu's full width (el.svg ships its own 20x20 size, which is why Greek stayed small). The slot now gives image icons a 20x14 box with 2px rounding again. - The Back row used a 10px icon gap against the options' 8px, putting its label 2px right of the option labels. Every leading slot (Back chevron, theme glyph, flag) is now one fixed 20px width with the glyph centred and an 8px gap, so the labels share one column in both submenus. Equal gaps alone wouldn't have aligned the Language list: the flags are 20px wide against 18px glyphs. - The mobile drawer widens that slot to 28px to fit its 24px glyphs and 28x20 flags. `:first-child` targets only the leading slot, since the selected-option check comes after the label.
Mjolnir Security Review
30 PRs reviewed · 1 finding |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📦 Next.js Bundle Analysis for aave-uiThis analysis was generated by the Next.js Bundle Analysis action. 🤖
|
| Page | Size (compressed) |
|---|---|
global |
1.34 MB (🟡 +37 B) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!



