From 047617713e993c8d475f700bf4cb43ca895f8fcd Mon Sep 17 00:00:00 2001 From: Nithin David Thomas Date: Thu, 20 May 2021 23:08:05 +0530 Subject: [PATCH] Chore: Refactor add note to use foundation card classes (#2308) --- .../assets/scss/_foundation-settings.scss | 8 +-- .../dashboard/contacts/components/AddNote.vue | 60 +++++-------------- 2 files changed, 19 insertions(+), 49 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/_foundation-settings.scss b/app/javascript/dashboard/assets/scss/_foundation-settings.scss index 56d82896b..dc39751f0 100644 --- a/app/javascript/dashboard/assets/scss/_foundation-settings.scss +++ b/app/javascript/dashboard/assets/scss/_foundation-settings.scss @@ -285,10 +285,10 @@ $callout-link-tint: 30%; $card-background: $white; $card-font-color: $body-font-color; $card-divider-background: $light-gray; -$card-border: 1px solid $light-gray; -$card-shadow: none; -$card-border-radius: $global-radius; -$card-padding: $global-padding; +$card-border: 1px solid var(--color-border); +$card-shadow: var(--shadow-small); +$card-border-radius: var(--border-radius-medium); +$card-padding: var(--space-small); $card-margin: $global-margin; // 15. Close Button diff --git a/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.vue b/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.vue index 1b416c2a3..0e5fd334f 100644 --- a/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.vue +++ b/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.vue @@ -1,21 +1,17 @@