Skip to content

Commit ee7cc63

Browse files
dns2utf8GuillaumeGomez
authored andcommitted
Add padding to mobile layout and fix width issue on both
1 parent d8de2b4 commit ee7cc63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,7 @@ a {
772772

773773
.search-results > a {
774774
display: block;
775+
width: 100%;
775776
/* A little margin ensures the browser's outlining of focused links has room to display. */
776777
margin-left: 2px;
777778
margin-right: 2px;
@@ -1751,6 +1752,7 @@ details.undocumented[open] > summary::before {
17511752
/* Display an alternating layout on tablets and phones */
17521753
.search-results > a {
17531754
border-bottom: 1px solid #aaa9;
1755+
padding: 5px 0px;
17541756
}
17551757
.search-results .result-name {
17561758
width: 100%;

0 commit comments

Comments
 (0)