Skip to content

Commit

Permalink
test: #1231; splash google-bot check (cont);
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed May 2, 2023
1 parent 01dcec1 commit 24a5af5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
-->
<style>
html {
overflow-y: hidden;
overflow-x: hidden !important;
}
body.googlebot-override,
body.googlebot-override main {
overflow-y: hidden;
overflow-x: hidden !important;
}
body.googlebot-override p,
body.googlebot-override span,
body.googlebot-override h1,
body.googlebot-override h2 {
font-size: 7vw;
font-size: 20px;
text-overflow: ellipsis;
}
/* body.googlebot-override div,
Expand All @@ -41,11 +41,11 @@
body.googlebot-override img,
body.googlebot-override td { */
body.googlebot-override * {
margin: 5vw;
display: grid !important;
gap: 5vw;
all: initial;
display: grid;
grid-template-columns: 1fr !important;
position: absolute;
gap: 10px;
margin: 5px;
}
body.googlebot-override div#splash-screen {
margin: 0;
Expand Down
12 changes: 6 additions & 6 deletions src/lib/components/_Splash_screen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
// document.body.classList.remove(
// 'googlebot-override'
// );
// document.documentElement.classList.remove(
// 'no-scrollbar'
// );
// document.body.classList.remove(
// 'no-scrollbar'
// );
document.documentElement.classList.remove(
'no-scrollbar'
);
document.body.classList.remove(
'no-scrollbar'
);
}, 500);
setTimeout(async () => {
show = false;
Expand Down

0 comments on commit 24a5af5

Please sign in to comment.