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

Unified Diff: chrome/browser/resources/settings/search_engines_page/search_engine_entry.html

Issue 2518193002: MD Settings: change how text wraps for long search engine titles (Closed)
Patch Set: dpapad@ review Created 4 years, 1 month 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 | chrome/test/data/webui/settings/search_engines_page_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/search_engines_page/search_engine_entry.html
diff --git a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.html b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.html
index 81130ec9cf383ca3ec5d125552bf3f969864d949..39b34ffbc192b1ee7a6b771c3b0174bd6fd8f7da 100644
--- a/chrome/browser/resources/settings/search_engines_page/search_engine_entry.html
+++ b/chrome/browser/resources/settings/search_engines_page/search_engine_entry.html
@@ -15,12 +15,13 @@
font-weight: 500;
}
- .name-column,
- .keyword-column {
+ .column {
+ -webkit-margin-end: 8px;
flex: 3;
+ word-break: break-word;
}
- .url-column {
+ #url-column {
flex: 4;
overflow: hidden;
text-overflow: ellipsis;
@@ -33,13 +34,11 @@
</settings-search-engine-dialog>
</template>
<div class="list-item">
- <div class="name-column">
- <span class="favicon-image"
- style="background-image: [[getIconSet_(engine.iconURL)]]"></span>
- <span class="name">[[engine.displayName]]</span>
- </div>
- <div class="keyword-column">[[engine.keyword]]</div>
- <div class="url-column">[[engine.url]]</div>
+ <div class="favicon-image"
+ style="background-image: [[getIconSet_(engine.iconURL)]]"></div>
+ <div class="column">[[engine.displayName]]</div>
+ <div class="column">[[engine.keyword]]</div>
+ <div id="url-column">[[engine.url]]</div>
<paper-icon-button icon="cr:more-vert" tabindex$="[[tabindex]]"
on-tap="onDotsTap_">
</paper-icon-button>
« no previous file with comments | « no previous file | chrome/test/data/webui/settings/search_engines_page_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698