From 83e9ee1f74669aa5362583550c9022f74b4c8cc0 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sun, 27 Mar 2022 09:49:40 +0000
Subject: [PATCH] style: format code with prettier and increase whitespace
---
assets/scss/partials/components/_notice.scss | 6 +++---
layouts/shortcodes/notice.html | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/assets/scss/partials/components/_notice.scss b/assets/scss/partials/components/_notice.scss
index 163fc2b..37b4750 100644
--- a/assets/scss/partials/components/_notice.scss
+++ b/assets/scss/partials/components/_notice.scss
@@ -1,5 +1,5 @@
.notice {
- display: flex;
+ display: flex;
flex-direction: column;
@include themed() {
@@ -7,13 +7,12 @@
}
&--update {
-
@include themed() {
background-color: mix(t('success'), t('accent'), 40%);
}
}
- &--warning {
+ &--warning {
@include themed() {
background-color: mix(t('danger'), t('accent'), 40%);
}
@@ -33,6 +32,7 @@
&--update {
background-color: t('success');
}
+
&--warning {
background-color: t('danger');
}
diff --git a/layouts/shortcodes/notice.html b/layouts/shortcodes/notice.html
index 3d8240b..27b7db0 100644
--- a/layouts/shortcodes/notice.html
+++ b/layouts/shortcodes/notice.html
@@ -19,7 +19,7 @@
{{ end }}"
>
{{- i18n $noticeType -}}
-</span>
+ </span>
{{- $noteContent := (markdownify .Inner | chomp) -}}
<div class="notice__content">
{{ $noteContent }}
--
Gitblit v1.10.0