Skip to content

Commit ecc8d00

Browse files
Simplify CSS for code examples code blocks
1 parent 4653c93 commit ecc8d00

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/librustdoc/html/static/css/rustdoc.css

-10
Original file line numberDiff line numberDiff line change
@@ -1976,10 +1976,7 @@ in storage.js
19761976
}
19771977

19781978
.scraped-example .code-wrapper .example-wrap {
1979-
display: grid;
1980-
grid-template-columns: max-content auto;
19811979
width: 100%;
1982-
overflow-x: auto;
19831980
overflow-y: hidden;
19841981
margin-bottom: 0;
19851982
}
@@ -1988,13 +1985,6 @@ in storage.js
19881985
overflow-x: hidden;
19891986
}
19901987

1991-
.scraped-example .code-wrapper .example-wrap pre.rust {
1992-
overflow-x: inherit;
1993-
width: inherit;
1994-
overflow-y: hidden;
1995-
}
1996-
1997-
19981988
.more-examples-toggle {
19991989
max-width: calc(100% + 25px);
20001990
margin-top: 10px;

0 commit comments

Comments
 (0)