From 8fbb11e54df5bc02b9adbf4167aefe3b743f940f Mon Sep 17 00:00:00 2001 From: TZGyn Date: Wed, 1 Mar 2023 17:16:13 +0800 Subject: [PATCH] Update textarea to have min width and autoresize --- assets/css/tailwind.css | 3 ++- components/card/MarkdownRenderer.client.vue | 2 +- pages/notes/[id].vue | 17 ++++++----------- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 9a1b24e..be56c00 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -9,7 +9,8 @@ html { scrollbar-width: none; /* Firefox */ } +html::-webkit-scrollbar, body::-webkit-scrollbar, -html::-webkit-scrollbar { +#__nuxt::-webkit-scrollbar { @apply hidden; } diff --git a/components/card/MarkdownRenderer.client.vue b/components/card/MarkdownRenderer.client.vue index 097f8c3..339a4db 100644 --- a/components/card/MarkdownRenderer.client.vue +++ b/components/card/MarkdownRenderer.client.vue @@ -13,7 +13,7 @@