mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 06:42:35 +00:00
Fix clipping in theme popup
This commit is contained in:
parent
c34c3bf730
commit
f64fcbc07d
1 changed files with 2 additions and 5 deletions
|
@ -507,6 +507,8 @@ ul#searchresults span.teaser em {
|
|||
padding: 0;
|
||||
list-style: none;
|
||||
display: none;
|
||||
/* Don't let the children's background extend past the rounded corners. */
|
||||
overflow: hidden;
|
||||
}
|
||||
.theme-popup .default {
|
||||
color: var(--icons);
|
||||
|
@ -527,8 +529,3 @@ ul#searchresults span.teaser em {
|
|||
.theme-popup .theme:hover {
|
||||
background-color: var(--theme-hover);
|
||||
}
|
||||
.theme-popup .theme:hover:first-child,
|
||||
.theme-popup .theme:hover:last-child {
|
||||
border-top-left-radius: inherit;
|
||||
border-top-right-radius: inherit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue