style(dictation): match mic button halo radius to button shape
Update the halo's border-radius from a fixed 50% circle to the theme's default radius variable. This ensures the red pulse follows the button's rounded‑square outline instead of appearing circular.
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
}
|
||||
|
||||
/* Translucent red halo that sits behind the stop button and scales with the
|
||||
live microphone level (scale set inline from audioLevel). */
|
||||
live microphone level (scale set inline from audioLevel). Radius follows the
|
||||
ActionIcon's own radius so the halo matches the button's rounded-square
|
||||
outline instead of being a circle. */
|
||||
.pulse {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 50%;
|
||||
border-radius: var(--mantine-radius-default);
|
||||
background-color: var(--mantine-color-red-5);
|
||||
opacity: 0.35;
|
||||
transform-origin: center;
|
||||
|
||||
Reference in New Issue
Block a user