Skip to content

Commit

Permalink
fix: correct overflow styles
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 5, 2024
1 parent b4724d3 commit 45160ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }}
<div class="hb-blog-post position-relative">
<div class="hb-blog-post-intro hb-module mb-2">
<h1 class="hb-blog-post-title">{{ .Title }}</h1>
<h1 class="hb-blog-post-title text-break">{{ .Title }}</h1>
<div class="hb-blog-post-meta">
{{ partialCached "hb/modules/blog/post/meta/authors" . . }}
{{ partialCached "hb/modules/blog/post/meta/date" . . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul class="hb-blog-post-nav nav {{ $justify }} hb-module">
{{ with .PrevInSection }}
<li class="nav-item my-1">
<a class="nav-link p-0 d-flex align-items-center" href="{{ .RelPermalink }}">
<a class="nav-link p-0 d-flex align-items-center text-break" href="{{ .RelPermalink }}">
{{- partial "icons/icon" (dict
"vendor" "bootstrap"
"name" "arrow-left-circle"
Expand All @@ -21,7 +21,7 @@
{{ end }}
{{ with .NextInSection }}
<li class="nav-item my-1">
<a class="nav-link p-0 d-flex align-items-center" href="{{ .RelPermalink }}">
<a class="nav-link p-0 d-flex align-items-center text-break" href="{{ .RelPermalink }}">
{{- .Title -}}
{{- partial "icons/icon" (dict
"vendor" "bootstrap"
Expand Down

0 comments on commit 45160ce

Please sign in to comment.