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;
|
||||
}
|
||||
|
||||
@media (max-width: 440px) {
|
||||
@media (max-width: 600px) {
|
||||
max-width: min(calc(100% - 1rem), 26.25rem);
|
||||
left: 50% !important;
|
||||
right: auto !important;
|
||||
@ -62,7 +62,7 @@
|
||||
|
||||
transform-origin: 70% 100% !important;
|
||||
|
||||
@media (max-width: 440px) {
|
||||
@media (max-width: 600px) {
|
||||
&:global(.bubble) {
|
||||
transform-origin: 30% 100% !important;
|
||||
}
|
||||
|
||||
@ -238,6 +238,7 @@ const ReactionPicker: FC<OwnProps & StateProps> = ({
|
||||
withPortal
|
||||
noCompact
|
||||
anchor={renderingPosition}
|
||||
positionY={story && 'bottom'}
|
||||
getTriggerElement={getTriggerElement}
|
||||
getRootElement={getRootElement}
|
||||
getMenuElement={getMenuElement}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user