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

Unified Diff: ui/file_manager/file_manager/foreground/css/file_manager.css

Issue 2223403002: Fix position of breadcrumbs list to consider RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix position of breadcrumbs list to consider RTL Created 4 years, 4 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: ui/file_manager/file_manager/foreground/css/file_manager.css
diff --git a/ui/file_manager/file_manager/foreground/css/file_manager.css b/ui/file_manager/file_manager/foreground/css/file_manager.css
index 39e7d2ca04eedf163d75303f2d4d5319891699ac..e8926a3a90c91f8b31d5b8a041e5c9b0c5192fd7 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -1087,20 +1087,27 @@ body.check-select .breadcrumbs {
/* A single directory name in the list of path breadcrumbs. */
.breadcrumbs .breadcrumb-path {
- -webkit-margin-end: 0; /* An arrow is used as a spacer instead. */
box-sizing: border-box;
cursor: pointer;
flex: none;
font-size: 14px;
font-weight: 500;
+ margin: 0;
min-width: 0;
padding: 0 9px;
text-transform: none;
white-space: nowrap;
}
-.breadcrumbs .breadcrumb-path:not(:first-child) {
- -webkit-margin-start: 0; /* An arrow is used as a spacer instead. */
+.breadcrumbs .breadcrumb-path:first-child {
+ /* -webkit-margin-start isn't proper
+ because folder names should be ltr even in RTL languages. */
+ margin-left: 8px;
+}
+
+html[dir='rtl'] .breadcrumbs .breadcrumb-path:first-child {
+ margin-left: 0;
+ margin-right: 8px;
}
.breadcrumbs .breadcrumb-path:active {
« 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