mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
taxonomy: avoid column break on multiline items #705
This commit is contained in:
parent
1eb3bf3159
commit
3a02431a60
2 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
{{- if (ne .Page.Site.Params.disableTermBreadcrumbs true) }}
|
||||
{{- $breadcrumb = (trim ((partial "breadcrumbs.html" (dict "page" .Page "dirOnly" true)) | plainify | htmlUnescape) "\n\r\t ") }}
|
||||
{{- end }}
|
||||
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Title }}</a>{{ with $breadcrumb }}<br><div class="breadcrumbs highlightable">{{ . }}</div>{{ end }}</li>
|
||||
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Title }}</a>{{ with $breadcrumb }}<div class="breadcrumbs highlightable">{{ . }}</div>{{ end }}</li>
|
||||
{{- $lastCapital = $capital }}
|
||||
{{- end }}
|
||||
{{- if ne $lastCapital "" }}
|
||||
|
|
|
@ -2071,6 +2071,10 @@ html[dir="rtl"] #R-sidebar ul.collapsible-menu > li > label > i.fa-chevron-right
|
|||
}
|
||||
}
|
||||
|
||||
.columnize > *{
|
||||
break-inside: avoid-column;
|
||||
}
|
||||
|
||||
.columnize .breadcrumbs{
|
||||
font-size: .859625rem;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue