From 18e844085a25aa73302f23510e722e3aae552da7 Mon Sep 17 00:00:00 2001 From: BFlorian91 Date: Sun, 26 Nov 2023 03:12:05 +0100 Subject: [PATCH] feat: display code from the card with a readmore btn --- src/Layouts/LayoutGlobalSlot.vue | 2 +- src/components/CardSnippetV4.vue | 113 +++++++++++++++++++++++++++---- src/views/CreateSnippetView.vue | 4 +- src/views/EditSnippetView.vue | 6 +- src/views/HomeView.vue | 2 + 5 files changed, 108 insertions(+), 19 deletions(-) diff --git a/src/Layouts/LayoutGlobalSlot.vue b/src/Layouts/LayoutGlobalSlot.vue index efbac61..c4462b1 100644 --- a/src/Layouts/LayoutGlobalSlot.vue +++ b/src/Layouts/LayoutGlobalSlot.vue @@ -24,7 +24,7 @@ import NotificationToast from "../components/NotificationToast.vue";
-
+
diff --git a/src/components/CardSnippetV4.vue b/src/components/CardSnippetV4.vue index b43977a..6621403 100644 --- a/src/components/CardSnippetV4.vue +++ b/src/components/CardSnippetV4.vue @@ -1,8 +1,14 @@