mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-16 02:15:13 +00:00
fix: Callout accessibility and margin bottom
This commit is contained in:
1 parent
347501f9ea
commit
4a22c57dc3
1 file changed
+2
-2
@@ -10,7 +10,7 @@
|
|||||||
*/}}
|
*/}}
|
||||||
{{ $icon := "information-circle" }}
|
{{ $icon := "information-circle" }}
|
||||||
{{ $class := "bg-primary-100 dark:bg-primary-900" }}
|
{{ $class := "bg-primary-100 dark:bg-primary-900" }}
|
||||||
{{ $class_text := "text-primary-400" }}
|
{{ $class_text := "text-primary-600 dark:text-primary-300" }}
|
||||||
{{ with (.Get 0) }}
|
{{ with (.Get 0) }}
|
||||||
{{ if eq . "note" }}
|
{{ if eq . "note" }}
|
||||||
{{ $icon = "information-circle" }}
|
{{ $icon = "information-circle" }}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
{{ $icon = . }}
|
{{ $icon = . }}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="flex px-4 py-3 rounded-md {{$class}}">
|
<div class="flex px-4 py-3 mb-6 rounded-md {{$class}}">
|
||||||
<span class="pr-3 pt-1 {{$class_text}}">
|
<span class="pr-3 pt-1 {{$class_text}}">
|
||||||
{{ partial "functions/get_icon" (dict "name" $icon "attributes" "height=\"24\"") }}
|
{{ partial "functions/get_icon" (dict "name" $icon "attributes" "height=\"24\"") }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in new issue
Block a user