tailwindcss
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<script>
|
||||
import { browser } from "$app/environment";
|
||||
import "../app.css";
|
||||
|
||||
let { children } = $props();
|
||||
if (browser) {
|
||||
document.addEventListener("contextmenu", (e) => {
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="w-screen h-screen max-w-[100vw] max-h-screen *:size-full">
|
||||
{@render children?.()}
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
<div class="mt-12 mx-auto px-3 py-1 rounded w-min bg-white text-black">
|
||||
<p>WYD</p>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user