Fix API docs css reversing elements that it shouldn't

remove unneeded `pre.rust a' selector

move transform into `.test-arrow`

fixes #16138
This commit is contained in:
tinaun 2014-08-01 03:45:53 -04:00
parent 9f0b91985f
commit 42b2dc06b6
2 changed files with 4 additions and 2 deletions

View file

@ -324,13 +324,14 @@ table th {
.rusttest { display: none; } .rusttest { display: none; }
pre.rust { position: relative; } pre.rust { position: relative; }
pre.rust a { transform: scaleX(-1); }
.test-arrow { .test-arrow {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
font-size: 150%; font-size: 150%;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
} }
@media (min-width: 1170px) { @media (min-width: 1170px) {

View file

@ -441,13 +441,14 @@ pre.rust .lifetime { color: #B76514; }
.rusttest { display: none; } .rusttest { display: none; }
pre.rust { position: relative; } pre.rust { position: relative; }
pre.rust a { transform: scaleX(-1); }
.test-arrow { .test-arrow {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
font-size: 150%; font-size: 150%;
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
} }
.methods .section-header { .methods .section-header {