Fix for last-child in RTL style

This commit is contained in:
Rick Falkvinge
2017-01-13 14:50:22 +01:00
parent 5a70e9af8f
commit 6fa02f1e72
2 changed files with 8 additions and 2 deletions
+1 -2
View File
@@ -111,8 +111,7 @@
color: #000;
}
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child {
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(1) {
display: none;
}
+7
View File
@@ -278,6 +278,13 @@ body.rtl .odometer-label {
padding-right: 4px;
}
.odometer.odometer-auto-theme:not(.nocents) .odometer-digit:last-child, .odometer.odometer-auto-theme:not(.nocents) .odometer-digit:nth-last-child(1), .odometer.odometer-theme-car:not(.nocents) .odometer-digit:last-child, .odometer.odometer-theme-car:not(.nocents) .odometer-digit:nth-last-child(1) {
display: none; /* redundant workaround for cent rounding - moved here to escape caching of styles; main file has a cache buster and others don't */
}
/* BARS AND BOXEN */
.mainbar