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

View file

@ -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);
}