Skip to content

Commit

Permalink
Add message for safari users
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity committed Dec 20, 2024
1 parent 8f8f45c commit 73663e3
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
</head>

<body>
<div class="browser-warning">
⚠️ If this page appears broken, try reloading. If the problem persists, your browser may be unsupported; try using
Chrome or Firefox.
</div>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ button[type="submit"] {
#greeting:empty {
display: none;
}

.browser-warning {
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
</head>

<body data-sveltekit-preload-data="hover">
<div class="browser-warning">
⚠️ If this page appears broken, try reloading. If the problem persists, your browser may be unsupported; try
using Chrome or Firefox.
</div>
<div style="display: contents">%sveltekit.body%</div>
</body>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ button[type="submit"] {
#greeting:empty {
display: none;
}

.browser-warning {
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
</head>

<body>
<div class="browser-warning">
⚠️ If this page appears broken, try reloading. If the problem persists, your browser may be unsupported; try using
Chrome or Firefox.
</div>
<div id="root"></div>
<script type="module" src="/src/main.js"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ button[type="submit"] {
#greeting:empty {
display: none;
}

.browser-warning {
display: none;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
<strong>We're sorry but this application doesn't work properly without
JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div class="browser-warning">
⚠️ If this page appears broken, try reloading. If the problem persists, your browser may be unsupported; try using
Chrome or Firefox.
</div>
<div id="app"></div>
<script src="/src/main.js" type="module"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ button[type="submit"] {
#greeting:empty {
display: none;
}

.browser-warning {
display: none;
}

0 comments on commit 73663e3

Please sign in to comment.