fix textarea color

This commit is contained in:
2026-02-06 12:27:42 +00:00
parent fbca89128e
commit 1931661d0a
2 changed files with 11 additions and 2 deletions

View File

@@ -133,6 +133,11 @@ a {
@apply text-primary bg-link text-center font-heading text-xl tracking-wide; @apply text-primary bg-link text-center font-heading text-xl tracking-wide;
} }
input,
textarea {
@apply text-primary border;
}
table { table {
@apply border-primary border text-primary; @apply border-primary border text-primary;
} }

View File

@@ -24,10 +24,14 @@ async function post() {
</script> </script>
<template> <template>
<div v-if="auth.loggedIn" class="flex flex-col"> <div class="flex flex-col" v-if="auth.loggedIn">
<h1>Create Post</h1> <h1>Create Post</h1>
<input type="text" v-model="title" placeholder="Title" /> <input type="text" v-model="title" placeholder="Title" />
<textarea v-model="content" placeholder="Content"></textarea> <textarea
class="h-50"
v-model="content"
placeholder="Content"
></textarea>
<Button @click="post">Upload</Button> <Button @click="post">Upload</Button>
<!-- make textarea take up most the space --> <!-- make textarea take up most the space -->
</div> </div>