fix textarea color
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user