From f3f1142479d5fe26e9094f995ad5adc426b59647 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 8 Sep 2021 19:31:28 +0200 Subject: [PATCH] Client - minor style change on Card component --- fittrackee_client/src/components/Common/Card.vue | 7 +++++-- .../src/components/Dashboard/UserCalendar/index.vue | 4 ++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fittrackee_client/src/components/Common/Card.vue b/fittrackee_client/src/components/Common/Card.vue index 848c66c0..fcfdb8a0 100644 --- a/fittrackee_client/src/components/Common/Card.vue +++ b/fittrackee_client/src/components/Common/Card.vue @@ -29,7 +29,6 @@ border: solid 1px var(--card-border-color); border-radius: $border-radius; margin: $default-margin; - padding: $default-padding $default-padding * 2; .without-title { display: none; @@ -38,7 +37,11 @@ .card-title { font-weight: bold; border-bottom: solid 1px var(--card-border-color); - padding-bottom: $default-padding; + padding: $default-padding $default-padding * 2; + } + + .card-content { + padding: $default-padding $default-padding * 2; } } diff --git a/fittrackee_client/src/components/Dashboard/UserCalendar/index.vue b/fittrackee_client/src/components/Dashboard/UserCalendar/index.vue index 7d25a213..c00887ac 100644 --- a/fittrackee_client/src/components/Dashboard/UserCalendar/index.vue +++ b/fittrackee_client/src/components/Dashboard/UserCalendar/index.vue @@ -82,6 +82,10 @@ #user-calendar { .calendar-card { padding: 0; + + .card-content { + padding: 0; + } } }