Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2272)

Unified Diff: chrome/browser/resources/chromeos/login/oobe_screen.css

Issue 273643002: Css support-hack for improper webkit-padding-end behaviour. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switched to flex. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/oobe_screen.css
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen.css b/chrome/browser/resources/chromeos/login/oobe_screen.css
index 142ef777e179fd029580a5f72d8486fd8ff71e8b..637fe4a13259a68b4ae78d5cb582713424f9ed58 100644
--- a/chrome/browser/resources/chromeos/login/oobe_screen.css
+++ b/chrome/browser/resources/chromeos/login/oobe_screen.css
@@ -43,16 +43,21 @@
}
.step-controls {
- -webkit-box-pack: end;
- -webkit-padding-end: 34px; /* Double the padding of .step */
bottom: 21px;
box-sizing: border-box;
- display: -webkit-box;
+ display: flex;
height: 28px;
+ justify-content: flex-end;
+ padding-right: 34px; /* Double the padding of .step */
position: absolute;
width: 100%;
}
+html[dir=rtl] .step-controls {
+ /* Hack as -webkit-padding-end doesn't catch direction. crbug.com/363836 */
+ padding-left: 34px;
+}
+
.animation .step-controls button {
/* Don't grey out disabled buttons during animation. */
color: buttontext !important;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698