mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02:00
fix: Callout accessibility and margin bottom
This commit is contained in:
parent
347501f9ea
commit
4a22c57dc3
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
*/}}
|
||||
{{ $icon := "information-circle" }}
|
||||
{{ $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) }}
|
||||
{{ if eq . "note" }}
|
||||
{{ $icon = "information-circle" }}
|
||||
|
@ -22,7 +22,7 @@
|
|||
{{ $icon = . }}
|
||||
{{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}}">
|
||||
{{ partial "functions/get_icon" (dict "name" $icon "attributes" "height=\"24\"") }}
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue