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

Unified Diff: chrome/browser/resources/settings/controls/extension_controlled_indicator.html

Issue 2929683002: MD Settings: Fix search highlighting within extension-controlled-indicator. (Closed)
Patch Set: Nits. Created 3 years, 6 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/settings/controls/extension_controlled_indicator.html
diff --git a/chrome/browser/resources/settings/controls/extension_controlled_indicator.html b/chrome/browser/resources/settings/controls/extension_controlled_indicator.html
index 85702c8112fe9c10cd19ace0e8c8ccadb7f35334..ff53538c98f4d4e408b877e8b71adeb0d0bddb30 100644
--- a/chrome/browser/resources/settings/controls/extension_controlled_indicator.html
+++ b/chrome/browser/resources/settings/controls/extension_controlled_indicator.html
@@ -21,7 +21,10 @@
-webkit-margin-end: 16px;
}
- span {
+ /* Using ">" operator to ensure that this CSS rule will not accidentally
+ * be applied to a search highlight span (which is inserted dynamically if
+ * when search "hit" occurs within this element. */
+ :host > span {
-webkit-margin-end: 8px;
flex: 1;
}
« 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