Skip to content

Commit

Permalink
Merge pull request #7883 from RocketChat/fix-mobile-popover
Browse files Browse the repository at this point in the history
[FIX] popover position on mobile
  • Loading branch information
gdelavald authored Aug 25, 2017
2 parents 300162d + 788c7ee commit 222d942
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/rocketchat-theme/client/imports/components/popover.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
align-items: flex-start;
}
--rc-popover-open-mobile: {
top: initial;
position: fixed;
top: initial;
bottom: 0;
left: 0;

display: inline-block;

width: 100vw;
padding: 8px;

animation: dropup-show 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
width: 100vw;
display: inline-block;
}
}

Expand Down

0 comments on commit 222d942

Please sign in to comment.