Skip to content

Commit

Permalink
Override styles for PWA
Browse files Browse the repository at this point in the history
  • Loading branch information
rcowsill committed May 27, 2024
1 parent 40c2765 commit d3fdaaf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions _site/css/jpeg_sawmill.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,24 @@ input[disabled] {
.sawmill-viewer .sawmill-about-box a {
white-space: nowrap;
}


/* Sawmill PWA Style Overrides */

@media (display-mode: fullscreen),
(display-mode: standalone),
(display-mode: minimal-ui) {
body {
margin: 0;
}

.sawmill-ui {
margin: 0;
width: 100%;
height: 100vh;
}

.sawmill-toolbar {
border-radius: inherit;
}
}

0 comments on commit d3fdaaf

Please sign in to comment.