Fix: [3.0] Distorted microphone loading animation on smaller screens (mobile) (#21024)
* Fix: [3.0] Distorted microphone loading animation on smaller screens (mobile) * Fix distorted loading anim
This commit is contained in:
parent
8fb585162f
commit
cef0d7a5d9
@ -9,6 +9,8 @@ import {
|
||||
colorOffWhite,
|
||||
colorWhite,
|
||||
} from '/imports/ui/stylesheets/styled-components/palette';
|
||||
import { smPaddingX, smPaddingY } from '/imports/ui/stylesheets/styled-components/general';
|
||||
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
|
||||
|
||||
const pulse = keyframes`
|
||||
0% {
|
||||
@ -48,6 +50,20 @@ export const MuteToggleButton = styled(Button)`
|
||||
box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
`}
|
||||
|
||||
@media ${smallOnly} {
|
||||
margin-right: ${smPaddingY};
|
||||
}
|
||||
|
||||
[dir='rtl'] & {
|
||||
margin-right: 0;
|
||||
margin-left: ${smPaddingX};
|
||||
|
||||
@media ${smallOnly} {
|
||||
margin-left: ${smPaddingY};
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const DisabledLabel = {
|
||||
|
@ -78,23 +78,6 @@ const Container = styled.span`
|
||||
& > div {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
& > :last-child {
|
||||
margin-right: 0;
|
||||
|
||||
@media ${smallOnly} {
|
||||
margin-left: ${smPaddingY};
|
||||
}
|
||||
|
||||
[dir='rtl'] & {
|
||||
margin-left: 0;
|
||||
margin-right: ${smPaddingX};
|
||||
|
||||
@media ${smallOnly} {
|
||||
margin-right: ${smPaddingY};
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default {
|
||||
|
Loading…
Reference in New Issue
Block a user