From 005495129e50e378624068a8202790e4540a75a4 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Sun, 14 Jan 2024 15:15:59 +0800 Subject: [PATCH] style(alert): float the icon to the start (#112) --- 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 }} -