Skip to content

Commit

Permalink
Please mobile Safari please
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnyby committed Mar 28, 2024
1 parent 4a3f4aa commit 54fd7fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 0 additions & 1 deletion docs/assets/index-84JjAp44.css

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/index-CQsKO5vw.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<link rel="icon" type="image/svg+xml" href="/fivel/favicon.svg" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script type="module" crossorigin src="/fivel/assets/index-DT9NVY3z.js"></script>
<link rel="stylesheet" crossorigin href="/fivel/assets/index-84JjAp44.css">
<script type="module" crossorigin src="/fivel/assets/index-BFxlnPHi.js"></script>
<link rel="stylesheet" crossorigin href="/fivel/assets/index-CQsKO5vw.css">
</head>

<body>
Expand Down
6 changes: 5 additions & 1 deletion src/components/dialog/Dialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@
right: 0;
left: 0;
/* I would prefer to use `bottom: 0;`, but that approach only works in every browser _except_ mobile Safari */
/*
* I would prefer to use `bottom: 0;`, but mobile Safari:
* https://blog.opendigerati.com/the-eccentric-ways-of-ios-safari-with-the-keyboard-b5aa3f34228d
*/
height: 100vh;
height: -webkit-fill-available;
background: rgba(0, 0, 0, 0.4);
}
Expand Down

0 comments on commit 54fd7fb

Please sign in to comment.