Skip to content

Commit

Permalink
[MM-27168] Set -webkit-fill-available when on iOS Safari and 100vh ot…
Browse files Browse the repository at this point in the history
…herwise (mattermost#6010)

* Set -webkit-fill-available when on iOS Safari
Also set first div child of admin console as height 100%

* Unneeded ampersand

* This 100% does nothing

(cherry picked from commit 630ce20)
  • Loading branch information
fmunshi authored and mattermost-build committed Jul 30, 2020
1 parent 08ee861 commit fdc8fe4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sass/routes/_admin-console.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
flex-direction: column;
height: 100vh;

// Fix for Safari on iOS MM-24361
@supports (-webkit-touch-callout: none) {
height: -webkit-fill-available;
}

.announcement-bar--fixed & {
height: calc(100vh - 32px);
}
Expand Down

0 comments on commit fdc8fe4

Please sign in to comment.