mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 08:29:42 +02:00
fix(ui): stop the centered voice button overlapping the case picker
.toolbar-center is absolutely centered (left: 50%), so on viewports below ~1500px, or with long case names widening the left toolbar group, the voice button rendered on top of the case picker's chevron and the + button. Below 1500px it now falls back into normal flex flow where overlap is impossible; wide viewports keep the centered layout. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3152,6 +3152,17 @@ body.touch-device .terminal-container .xterm .xterm-helper-textarea {
|
|||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Below ~1500px the absolutely-centered group can land on top of the case
|
||||||
|
picker (the left group widens with the case name), so fall back to normal
|
||||||
|
flex flow where overlap is impossible */
|
||||||
|
@media (max-width: 1500px) {
|
||||||
|
.toolbar-center {
|
||||||
|
position: static;
|
||||||
|
transform: none;
|
||||||
|
margin-left: 0.4rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.version-display {
|
.version-display {
|
||||||
font-family: 'SF Mono', Monaco, monospace;
|
font-family: 'SF Mono', Monaco, monospace;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user