mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 06:43:34 +01:00
Cap wiki search width at 80% container width
Co-Authored-By: Zuzana Slavíková <zuza.slavik@email.cz>
This commit is contained in:
parent
c0777279fe
commit
767467b9ae
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{{if .Results}}
|
||||
{{range .Results}}
|
||||
<a class="item tw-max-w-[min(80vw,var(--container-width))]" href="{{$.RepoLink}}/wiki/{{.Filename}}">
|
||||
<a class="item tw-max-w-[min(80vw,calc(0.8*var(--container-width)))]" href="{{$.RepoLink}}/wiki/{{.Filename}}">
|
||||
<b class="tw-block tw-mb-2 tw-whitespace-break-spaces">{{.Title}}</b>
|
||||
{{range .LineCodes}}
|
||||
<p class="tw-my-0 tw-whitespace-break-spaces">{{.}}</p>
|
||||
|
|
Loading…
Reference in a new issue