Skip to content

Commit 2924047

Browse files
committed
fix: prevent selecting
1 parent 15987ef commit 2924047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/test.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import "../styles/global.css";
3838
<!-- Text overlay as background texture with parallax effect -->
3939
<div class="absolute inset-0 w-full h-full overflow-hidden">
4040
<div
41-
class="text-darker-gray text-[40vw] font-black font-display leading-[0.9] text-center uppercase absolute top-1/2 left-1/2 w-[150%]"
41+
class="text-darker-gray text-[50vw] sm:text-[33vw] font-black font-display leading-[0.9] text-center uppercase absolute top-1/2 left-1/2 w-[150%] select-none"
4242
x-bind:style="'transform: translate(-50%, -50%) rotate(45deg) translateY(' + scrollPosition * 0.6 + 'px)'"
4343
>
4444
Some blog entry headline thats quite long

0 commit comments

Comments
 (0)