From 96fd8ab346e7af002a53281a25fbcfa2a87980e9 Mon Sep 17 00:00:00 2001 From: TZGyn Date: Wed, 1 Mar 2023 05:24:01 +0800 Subject: [PATCH] Added layout for note editing --- assets/css/tailwind.css | 12 +++++++ layouts/edit.vue | 9 ++++++ pages/notes/[id].vue | 69 +++++++++++++++++++++-------------------- 3 files changed, 56 insertions(+), 34 deletions(-) create mode 100644 layouts/edit.vue diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index b5c61c9..9a1b24e 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -1,3 +1,15 @@ @tailwind base; @tailwind components; @tailwind utilities; + +body, +html { + @apply bg-primary text-white; + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} + +body::-webkit-scrollbar, +html::-webkit-scrollbar { + @apply hidden; +} diff --git a/layouts/edit.vue b/layouts/edit.vue new file mode 100644 index 0000000..ae7347a --- /dev/null +++ b/layouts/edit.vue @@ -0,0 +1,9 @@ + diff --git a/pages/notes/[id].vue b/pages/notes/[id].vue index 80f48d7..ec1b43a 100644 --- a/pages/notes/[id].vue +++ b/pages/notes/[id].vue @@ -1,28 +1,8 @@