Skip to content

Commit 0afd99b

Browse files
committed
fix(docs): disable github star on mobile
1 parent c32fec5 commit 0afd99b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/src/components/GithubStar.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ import { Icon } from '@astrojs/starlight/components';
4646
border: 1px solid var(--sl-color-accent-high);
4747
animation: slide-down 0.5s ease-in-out;
4848
}
49+
@media screen and (max-width: 768px) {
50+
.container{
51+
display: none;
52+
}
53+
}
4954
.link {
5055
display: flex;
5156
padding: 0.5rem;

0 commit comments

Comments
 (0)