forgejo/templates/repo/wiki
Oto Šťáva c98bd3a11d
Fix wiki search overflowing on wide screens (#6047)
Confine the search menu to be at most the width of the page, or 80% of
the viewport width, whichever is smaller. To do this, introduce a new
`--container-width` variable for the descendant elements of
`.ui.container` to be able to access.

Also update the relevant e2e test: add a long 'lorem ipsum' page, add a
search for it, parameterize the width.
2024-11-30 17:10:57 +01:00
..
new.tmpl Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
pages.tmpl Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
revision.tmpl Replace gt-word-break with tw-break-anywhere 2024-06-11 08:57:27 +05:00
search.tmpl Fix wiki search overflowing on wide screens (#6047) 2024-11-30 17:10:57 +01:00
start.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
view.tmpl ui(wiki): fix search result overflow for long lines 2024-09-14 14:22:01 +00:00