about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-03-28 15:22:01 +0100
committerGitHub <noreply@github.com>2020-03-28 15:22:01 +0100
commitf6111930d22a84cb3045364b3dbdd6f69ab8cd5c (patch)
tree04776f4205941ec25d4d4da49ee9aea07fc7213e
parent7f1e6261bfd05fb411ff361bf999e48ede6237b6 (diff)
parent6d886aff35a858be68e3c2afbcdc559b94ce4fdb (diff)
downloadrust-f6111930d22a84cb3045364b3dbdd6f69ab8cd5c.tar.gz
rust-f6111930d22a84cb3045364b3dbdd6f69ab8cd5c.zip
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 https://github.com/rust-lang/rust/issues/49155 and related PR https://github.com/rust-lang/rust/pull/50947

tab-size: https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size
-rw-r--r--src/librustdoc/html/static/rustdoc.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index 8887bca3c59..d091cc0c096 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -1082,8 +1082,8 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
 
 pre.rust {
 	position: relative;
-	tab-width: 4;
-	-moz-tab-width: 4;
+	tab-size: 4;
+	-moz-tab-size: 4;
 }
 
 .search-failed {