Skip to content

Commit f611193

Browse files
authored
Rollup merge of #70493 - 0xd4d:rustdoc-tab-size, r=GuillaumeGomez
Fix rustdoc.css CSS tab-size property This fixes the CSS tab size property names which are called `tab-size` / `-moz-tab-size` and not `tab-width` Old issue #49155 and related PR #50947 tab-size: https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size
2 parents 7f1e626 + 6d886af commit f611193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1082,8 +1082,8 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
10821082

10831083
pre.rust {
10841084
position: relative;
1085-
tab-width: 4;
1086-
-moz-tab-width: 4;
1085+
tab-size: 4;
1086+
-moz-tab-size: 4;
10871087
}
10881088

10891089
.search-failed {

0 commit comments

Comments
 (0)