From ce6ce4b6cdd3aea2712ce73c0b0fd9d64372ac8e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 29 Sep 2022 11:52:48 +0300 Subject: [PATCH] minor improvements --- src/components/notifications/notifications.scss | 2 +- src/components/timeline/timeline.scss | 4 ++-- src/components/timeline/timeline.vue | 6 ++++-- src/panel.scss | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index b57dfb3a..245e3f47 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -36,7 +36,7 @@ width: var(--__panel-heading-height); height: var(--__panel-heading-height); margin: calc(-1 * var(--panel-heading-height-padding)) 0; - margin-right: -0.5em; + margin-right: calc(-1 * var(--__panel-heading-gap)); > button { box-sizing: border-box; diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss index 18a80a63..f5dbb639 100644 --- a/src/components/timeline/timeline.scss +++ b/src/components/timeline/timeline.scss @@ -19,7 +19,7 @@ width: var(--__panel-heading-height); height: var(--__panel-heading-height); margin: calc(-1 * var(--panel-heading-height-padding)) 0; - margin-right: -0.5em; + margin-right: calc(-1 * var(--__panel-heading-gap)); > button { box-sizing: border-box; @@ -38,7 +38,7 @@ align-self: stretch; text-align: center; width: var(--__panel-heading-height); - margin-right: -0.5em; + margin-right: calc(-1 * var(--__panel-heading-gap)); svg { font-size: 1.2em; diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index fe5d4822..15d097e8 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -5,9 +5,11 @@ v-if="!embedded" :timeline-name="timelineName" /> -
+