mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-19 10:24:16 +00:00
Rollup merge of #85174 - GuillaumeGomez:doc-code-block-border-radius, r=jsha
Fix border radius for doc code blocks in rustdoc In #85148, I made an invalid change on the border radius of the doc code blocks (look in the top left and bottom left corners of the code blocks). Before this fix:  After this fix:  r? `@jsha`
This commit is contained in:
commit
bc26def1d5
@ -371,6 +371,8 @@ nav.sub {
|
||||
border: 1px solid;
|
||||
padding: 13px 8px;
|
||||
text-align: right;
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
|
||||
.rustdoc:not(.source) .example-wrap > pre.rust {
|
||||
@ -398,8 +400,6 @@ nav.sub {
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
.line-numbers span {
|
||||
cursor: pointer;
|
||||
|
Loading…
Reference in New Issue
Block a user