[fix](trx-frontend-http): fix play button icon not filling header button
Bump selector specificity to .header-bar-btn.header-audio-btn so the padding: 0 rule wins over the generic .header-bar-btn padding, and switch the SVG to width/height: 100% so it expands to fill the button. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -1026,11 +1026,11 @@ small { color: var(--text-muted); }
|
|||||||
gap: 0.6rem;
|
gap: 0.6rem;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
.header-audio-btn {
|
.header-bar-btn.header-audio-btn {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 0;
|
padding: 2px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -1042,8 +1042,8 @@ small { color: var(--text-muted); }
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
.header-audio-btn svg {
|
.header-audio-btn svg {
|
||||||
width: 1.5rem;
|
width: 100%;
|
||||||
height: 1.5rem;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.header-audio-btn.audio-active {
|
.header-audio-btn.audio-active {
|
||||||
color: var(--accent-green);
|
color: var(--accent-green);
|
||||||
|
|||||||
Reference in New Issue
Block a user