mirror of
1
Fork 0

ui(code-search): webkit hack to hide marker for summary tags

closes forgejo/forgejo#5259
This commit is contained in:
Shiny Nematoda 2024-09-07 20:02:16 +00:00
parent 0a30f00263
commit 5365ca76ce
1 changed files with 7 additions and 0 deletions

View File

@ -1747,6 +1747,13 @@ td .commit-summary {
color: inherit; 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 { .search-highlight {
background: var(--color-primary-alpha-40); background: var(--color-primary-alpha-40);
} }