This commit is contained in:
rotimi_best
2020-12-30 22:29:01 +02:00
parent 2f7e5aa673
commit 63f404013b
5 changed files with 98 additions and 48 deletions
+5
View File
@@ -2,4 +2,9 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
h1, h2, h3, h4, h5, h6 {
font-size: revert;
font-weight: revert;
}
</style>
+3 -2
View File
@@ -2,7 +2,8 @@
import marked from 'marked';
let isWriteMode = true;
let value = ``;
export let value = ``;
export let placeholder = ``;
const activeClassName = 'border-b-2 border-blue-700';;
const handleTabClick = tab => event => {
@@ -52,7 +53,7 @@
{#if isWriteMode}
<textarea
bind:value
placeholder="Предлогайте ваш ответ"
placeholder="{placeholder}"
class="border border-gray rounded-md p-2"
></textarea>
{:else}