about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorStefan Schindler <dns2utf8@estada.ch>2021-06-18 00:33:42 +0200
committerStefan Schindler <dns2utf8@estada.ch>2021-06-24 16:46:15 +0200
commit94c84bd72a0fd9c9e0dbcff43c21e6a862cae6cf (patch)
treef7cb5b995f3eddde762cb90afe24e42c59fb3056 /src/librustdoc/html/static
parentcc9ef7d8a8750d0604b7fd93fa71b1659507ea2d (diff)
downloadrust-94c84bd72a0fd9c9e0dbcff43c21e6a862cae6cf.tar.gz
rust-94c84bd72a0fd9c9e0dbcff43c21e6a862cae6cf.zip
Migrate from custom elements to divs with classes to be compatible with safari
Diffstat (limited to 'src/librustdoc/html/static')
-rw-r--r--src/librustdoc/html/static/rustdoc.css16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index a3ae22308b5..3b52fd94d27 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -169,7 +169,7 @@ div.impl-items > div {
 h1, h2, h3, h4,
 .sidebar, a.source, .search-input, .search-results .result-name,
 .content table td:first-child > a,
-item-left > a,
+.item-left > a,
 div.item-list .out-of-band, span.since,
 #source-sidebar, #sidebar-toggle,
 details.rustdoc-toggle > summary::before,
@@ -711,7 +711,7 @@ a {
 
 .block a.current.crate { font-weight: 500; }
 
-item-table {
+.item-table {
 	display: grid;
 	column-gap: 1.2rem;
 	row-gap: 0.0rem;
@@ -720,13 +720,13 @@ item-table {
 	justify-items: start;
 }
 
-item-left, item-right {
+.item-left, .item-right {
 	display: block;
 }
-item-left {
+.item-left {
 	grid-column: 1;
 }
-item-right {
+.item-right {
 	grid-column: 2;
 }
 
@@ -1775,11 +1775,11 @@ details.undocumented[open] > summary::before {
 	}
 
 	/* Display an alternating layout on tablets and phones */
-	item-table {
+	.item-table {
 		display: flex;
 		flex-flow: column wrap;
 	}
-	item-left, item-right {
+	.item-left, .item-right {
 		width: 100%;
 	}
 
@@ -1795,7 +1795,7 @@ details.undocumented[open] > summary::before {
 	.search-results .result-name, .search-results div.desc, .search-results .result-description {
 		width: 100%;
 	}
-	.search-results div.desc, .search-results .result-description, item-right {
+	.search-results div.desc, .search-results .result-description, .item-right {
 		padding-left: 2em;
 	}
 }