Skip to content

Commit 731470a

Browse files
committed
Fixed docs home on small screens
1 parent 90e05c0 commit 731470a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

layouts/partials/docs-section.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ <h3 class="text-2xl">{{ .Title }}</h3>
99
<div class="flex flex-col gap-5 flex-1">
1010
<p class="uppercase">{{ .LinksLeftTitle }}</p>
1111
{{ range .LinksLeft }}
12-
<a class="hover:text-redis-red-500 transition-colors whitespace-nowrap" href="{{ .URL }}">{{ .Text }} </a>
12+
<a class="hover:text-redis-red-500 transition-colors text-balance" href="{{ .URL }}">{{ .Text }}&nbsp;</a>
1313
{{ end }}
1414
</div>
15+
{{ if .LinksRight }}
1516
<div class="flex flex-col gap-5 flex-1">
1617
<p class="uppercase">{{ .LinksRightTitle }}</p>
1718
{{ range .LinksRight }}
18-
<a class="hover:text-redis-red-500 transition-colors whitespace-nowrap" href="{{ .URL }}">{{ .Text }} </a>
19+
<a class="hover:text-redis-red-500 transition-colors text-balance" href="{{ .URL }}">{{ .Text }}&nbsp;</a>
1920
{{ end }}
2021
</div>
22+
{{ end }}
2123
</div>
2224
</div>
2325
</div>

0 commit comments

Comments
 (0)