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

Unified Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2651813002: MD Settings: fix focus outline getting cut off in manage password page (Closed)
Patch Set: update comment format Created 3 years, 11 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
Index: chrome/browser/resources/settings/settings_shared_css.html
diff --git a/chrome/browser/resources/settings/settings_shared_css.html b/chrome/browser/resources/settings/settings_shared_css.html
index 8b4b3825d6db6c3653c0bcacd616e95f4d541224..95265606852f5fe3fc81a6af9c361ed0e6ef2756 100644
--- a/chrome/browser/resources/settings/settings_shared_css.html
+++ b/chrome/browser/resources/settings/settings_shared_css.html
@@ -170,6 +170,17 @@
white-space: nowrap;
}
+ /**
+ * By default, flexbox children have min-width calculated to be the width
+ * of the content. However, in some cases we might want to allow the
+ * width to be smaller than the content (i.e. for long text to ellipsis).
+ * In such cases this class should be applied.
+ * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=1108514#c5)
+ */
+ .no-min-width {
+ min-width: 0;
+ }
+
.button-strip {
text-align: end;
}

Powered by Google App Engine
This is Rietveld 408576698