Skip to content

Commit fe843e8

Browse files
Go around firefox bug
1 parent f780928 commit fe843e8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,13 @@ ul.block, .block li, .block ul {
978978
+ var(--line-number-right-margin));
979979
}
980980
.src .example-wrap .expansion [data-nosnippet] {
981-
left: calc((
981+
/* FIXME: Once <https://bugzilla.mozilla.org/show_bug.cgi?id=1949948> is solved, uncomment
982+
next line and remove the two other rules. */
983+
/*left: calc((
984+
var(--example-wrap-digits-count) + var(--line-number-padding) * 2
985+
+ var(--line-number-right-margin)) * -1);*/
986+
position: initial;
987+
margin-left: calc((
982988
var(--example-wrap-digits-count) + var(--line-number-padding) * 2
983989
+ var(--line-number-right-margin)) * -1);
984990
}

0 commit comments

Comments
 (0)