fix: perfect vertical alignment of gear and X icons on mobile tabs

- Use consistent 20x20px boxes for both icons
- Remove position offsets, rely on flexbox centering
- Increase gear font-size to 0.7rem for better visibility

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-31 16:04:13 +01:00
co-authored by Claude Opus 4.5
parent dfb8937ba4
commit 824a79413e
7 changed files with 16 additions and 14 deletions
+14 -12
View File
@@ -8044,29 +8044,31 @@ kbd {
display: none;
}
/* Gear icon on active tab - smaller, pushed right */
/* Gear icon on active tab - smaller, pushed right, vertically centered */
.session-tab.active .tab-gear {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.55rem;
padding: 0.1rem 0.2rem;
min-width: 16px;
height: 16px;
font-size: 0.7rem;
line-height: 1;
padding: 0;
width: 20px;
height: 20px;
margin-left: auto;
margin-right: -2px;
margin-right: 0;
}
/* Close button on active tab - larger, tight to gear */
/* Close button on active tab - larger, tight to gear, vertically centered */
.session-tab.active .tab-close {
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
padding: 0.2rem 0.3rem;
min-width: 24px;
height: 24px;
margin-left: -2px;
font-size: 1rem;
line-height: 1;
padding: 0;
width: 20px;
height: 20px;
margin-left: 2px;
}
/* Clean dark toolbar - positioned near bottom */