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

Unified Diff: chrome/browser/resources/settings/about_page/detailed_build_info.html

Issue 2219803003: MD Settings: About page, force line breaks in "Command line" string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak to use speced only properties. 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: chrome/browser/resources/settings/about_page/detailed_build_info.html
diff --git a/chrome/browser/resources/settings/about_page/detailed_build_info.html b/chrome/browser/resources/settings/about_page/detailed_build_info.html
index d013e3fe1c5db8682ef882a0d6f1c47d0dfc4ef5..caf104a03e80e1feaba5dc2e25def1ecc2c1297c 100644
--- a/chrome/browser/resources/settings/about_page/detailed_build_info.html
+++ b/chrome/browser/resources/settings/about_page/detailed_build_info.html
@@ -14,6 +14,13 @@
.secondary {
-webkit-user-select: text;
}
+
+ /* The command line string can contain very long substrings that
+ * don't have any spaces, need to force a line break in such cases. */
+ #command-line {
+ overflow-wrap: break-word;
+ width: 100%;
+ }
</style>
<div class="settings-box two-line single-column">
<div>$i18n{aboutPlatformLabel}</div>
@@ -59,7 +66,7 @@
</div>
<div class="settings-box two-line single-column">
<div>$i18n{aboutCommandLineLabel}</div>
- <div class="secondary">$i18n{aboutCommandLine}</div>
+ <div id="command-line" class="secondary">$i18n{aboutCommandLine}</div>
</div>
<div class="settings-box two-line single-column">
<div>$i18n{aboutBuildDateLabel}</div>
« 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