Skip to content

Commit f64fcbc

Browse files
committed
Fix clipping in theme popup
1 parent c34c3bf commit f64fcbc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/theme/css/chrome.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,8 @@ ul#searchresults span.teaser em {
507507
padding: 0;
508508
list-style: none;
509509
display: none;
510+
/* Don't let the children's background extend past the rounded corners. */
511+
overflow: hidden;
510512
}
511513
.theme-popup .default {
512514
color: var(--icons);
@@ -527,8 +529,3 @@ ul#searchresults span.teaser em {
527529
.theme-popup .theme:hover {
528530
background-color: var(--theme-hover);
529531
}
530-
.theme-popup .theme:hover:first-child,
531-
.theme-popup .theme:hover:last-child {
532-
border-top-left-radius: inherit;
533-
border-top-right-radius: inherit;
534-
}

0 commit comments

Comments
 (0)