Prepar to remove deep nesting

This commit is contained in:
Stefan Schindler 2021-05-21 23:54:49 +02:00 committed by Guillaume Gomez
parent 221cba370c
commit d8de2b4c33

View File

@ -783,15 +783,14 @@ a {
flex-flow: row wrap;
}
.search-results > a > div > div {
.search-results .result-name, .search-results > a > div > div:nth-child(2), .search-results .result-description {
width: 50%;
}
.result-name {
.search-results .result-name {
padding-right: 1em;
}
.result-name > span {
.search-results .result-name > span {
display: inline-block;
}
@ -1753,10 +1752,10 @@ details.undocumented[open] > summary::before {
.search-results > a {
border-bottom: 1px solid #aaa9;
}
.search-results > a > div > div {
.search-results .result-name {
width: 100%;
}
.search-results > a > div > div:nth-child(2) {
.search-results > a > div > div:nth-child(2), .search-results .result-description {
padding-left: 2em;
}
}