From a1ebb5695dd6073351156a587e34fea14fc8a81b Mon Sep 17 00:00:00 2001 From: razonyang Date: Sun, 14 Jan 2024 15:13:16 +0800 Subject: [PATCH] style(alert): float the icon to the start --- layouts/partials/bootstrap/alert-icon.html | 2 +- layouts/partials/bootstrap/alert.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/bootstrap/alert-icon.html b/layouts/partials/bootstrap/alert-icon.html index 27b0505..7d5667c 100644 --- a/layouts/partials/bootstrap/alert-icon.html +++ b/layouts/partials/bootstrap/alert-icon.html @@ -1,4 +1,4 @@ {{- $icon := partial "bootstrap/functions/alert-icon" . }} -
+
{{ partial "icons/icon" (dict "vendor" "bootstrap" "name" $icon "className" "alert-icon me-2") . }}
diff --git a/layouts/partials/bootstrap/alert.html b/layouts/partials/bootstrap/alert.html index cbf7c72..6d4ab18 100644 --- a/layouts/partials/bootstrap/alert.html +++ b/layouts/partials/bootstrap/alert.html @@ -4,7 +4,7 @@ {{- else }} {{- with .Get 0 }}{{ $style = . }}{{ end }} {{- end }} -