rustdoc: remove unused CSS #search { position: relative }
This was added in611d0e6cce
, to allow its child `#results` element to be absolutely positioned inside it. The child stopped being absolute in8c0469552e
. To keep the layout looking the same, the links need to not have `width: 100%` any more, relying instead on the box naturally growing to fit because it has `display: block`.
This commit is contained in:
parent
98f3001eec
commit
b273c7502e
1 changed files with 0 additions and 5 deletions
|
@ -596,10 +596,6 @@ h2.location a {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#search {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.search-loading {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -977,7 +973,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
|
|||
|
||||
.search-results > a {
|
||||
display: block;
|
||||
width: 100%;
|
||||
/* A little margin ensures the browser's outlining of focused links has room to display. */
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue