Reaction Picker: Fix position on small screen size (#5129)
This commit is contained in:
parent
c5c87347d9
commit
f7e553734b
@ -34,7 +34,7 @@
|
|||||||
transform: scale(1) !important;
|
transform: scale(1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 440px) {
|
@media (max-width: 600px) {
|
||||||
max-width: min(calc(100% - 1rem), 26.25rem);
|
max-width: min(calc(100% - 1rem), 26.25rem);
|
||||||
left: 50% !important;
|
left: 50% !important;
|
||||||
right: auto !important;
|
right: auto !important;
|
||||||
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
transform-origin: 70% 100% !important;
|
transform-origin: 70% 100% !important;
|
||||||
|
|
||||||
@media (max-width: 440px) {
|
@media (max-width: 600px) {
|
||||||
&:global(.bubble) {
|
&:global(.bubble) {
|
||||||
transform-origin: 30% 100% !important;
|
transform-origin: 30% 100% !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -238,6 +238,7 @@ const ReactionPicker: FC<OwnProps & StateProps> = ({
|
|||||||
withPortal
|
withPortal
|
||||||
noCompact
|
noCompact
|
||||||
anchor={renderingPosition}
|
anchor={renderingPosition}
|
||||||
|
positionY={story && 'bottom'}
|
||||||
getTriggerElement={getTriggerElement}
|
getTriggerElement={getTriggerElement}
|
||||||
getRootElement={getRootElement}
|
getRootElement={getRootElement}
|
||||||
getMenuElement={getMenuElement}
|
getMenuElement={getMenuElement}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user