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

Unified Diff: chrome/browser/resources/policy.css

Issue 8555009: Fix display and progressive disclosure for multi-line values in about:policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 9 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 | « chrome/browser/policy/policy_error_map.cc ('k') | chrome/browser/resources/policy.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/policy.css
diff --git a/chrome/browser/resources/policy.css b/chrome/browser/resources/policy.css
index ba436341042dd3258dd316d40f9931ce7440463f..147b949f7299bbcc8760d41df5c2848bd52c5dbc 100644
--- a/chrome/browser/resources/policy.css
+++ b/chrome/browser/resources/policy.css
@@ -136,24 +136,44 @@ legend {
#policy-table td {
background-color: #eaeef3;
- overflow: hidden;
padding: 10px;
- text-overflow: ellipsis;
+ position: relative;
+ vertical-align: top;
width: 20%;
}
-.toggler {
- color: #808080;
- cursor: pointer;
+.text-collapsed {
+ bottom: 0;
+ left: 0;
+ margin: 10px;
+ overflow: hidden;
+ position: absolute;
+ right: 0;
+ top: 0;
}
-.collapsed {
+.text-cell {
overflow: hidden;
+}
+
+.text-collapsed .text-cell {
text-overflow: ellipsis;
- white-space: nowrap;
}
-.expanded {
+.text-expanded .text-cell {
overflow: visible;
word-wrap: break-word;
}
+
+.text-collapsed .text-value {
+ white-space: nowrap;
+}
+
+.text-expanded .text-value {
+ white-space: pre-wrap;
+}
+
+.toggler {
+ float: right;
+ padding: 0 3px !important;
+}
« no previous file with comments | « chrome/browser/policy/policy_error_map.cc ('k') | chrome/browser/resources/policy.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698