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 and rodrigok committed Aug 25, 2017
1 parent 3af70c0 commit 989b927
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 989b927

Please sign in to comment.