Skip to content

Commit 49160b3

Browse files
committed
style: remove scrollbar
1 parent 9bc5823 commit 49160b3

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en" class="dark">
2+
<html lang="en" class="dark no-scrollbar">
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/icons/favicon.svg" />

src/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
@custom-variant dark (&:where(.dark, .dark *));
44

5+
@utility no-scrollbar {
6+
@apply [scrollbar-width:none] [&::-webkit-scrollbar]:hidden;
7+
}
8+
59
@theme {
610
--color-cream: oklch(0.9644 0.0282 74.31);
711
--color-midnight: oklch(0.2316 0.0373 288.04);

0 commit comments

Comments
 (0)