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

Unified Diff: chrome/browser/resources/options2/browser_options.css

Issue 10169030: Fix height of of menu items in the network menu when used with touch optimization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/options2/browser_options.css
diff --git a/chrome/browser/resources/options2/browser_options.css b/chrome/browser/resources/options2/browser_options.css
index ece825b44aa8d06f5b67c982bbc0092ec1c13487..7682b8c1dd5018a5bcc55b3b84ff770fa781ef04 100644
--- a/chrome/browser/resources/options2/browser_options.css
+++ b/chrome/browser/resources/options2/browser_options.css
@@ -306,6 +306,10 @@ list:not([disabled]) > .network-group[selected] {
vertical-align: middle;
}
+html[touch-optimized] .network-menu-item {
+ height: 40px;
+}
+
.network-menu-item-label {
-webkit-box-flex: 1;
color: #555;
@@ -317,6 +321,10 @@ list:not([disabled]) > .network-group[selected] {
white-space: nowrap;
}
+html[touch-optimized] .network-menu-item-label {
+ padding-top: 14px;
+}
+
.network-disabled-control {
color: #999;
}
@@ -337,6 +345,10 @@ list:not([disabled]) > .network-group[selected] {
text-overflow: ellipsis;
}
+html[touch-optimized] .network-menu-group {
+ max-height: 200px;
+}
+
.network-menu-item[dir=rtl] {
background: right center no-repeat;
}
« 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