Merge pull request 'ui: wiki/code search fixes' (#5260) from snematoda/search-ui-fix into forgejo
closes forgejo/forgejo#5259 (leftover arrowhead in Safari) Fixes long results in wiki search overflowing the page Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5260 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
d78598ef0d
3 changed files with 13 additions and 6 deletions
|
@ -1747,6 +1747,13 @@ td .commit-summary {
|
|||
color: inherit;
|
||||
}
|
||||
|
||||
/* workaround for safari as it does not support 'display: list-item' for summary tags yet
|
||||
** see https://codeberg.org/forgejo/forgejo/issues/5259 */
|
||||
details.repo-search-result summary::-webkit-details-marker,
|
||||
details.repo-search-result summary::marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.search-highlight {
|
||||
background: var(--color-primary-alpha-40);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue