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

Unified Diff: chrome/browser/resources/uber/uber_shared.css

Issue 10910315: Increase section indent when using touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Consolidate touch specific rules and add TODO for their removal. Created 8 years, 3 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/uber/uber_shared.css
diff --git a/chrome/browser/resources/uber/uber_shared.css b/chrome/browser/resources/uber/uber_shared.css
index 93749ca390de7c25cb3c366e95a880adcaee7cd2..1b9199491fd237311116de2891655bce185a65b7 100644
--- a/chrome/browser/resources/uber/uber_shared.css
+++ b/chrome/browser/resources/uber/uber_shared.css
@@ -113,6 +113,20 @@ body.uber-frame section > h3 {
-webkit-margin-start: -18px;
}
+@media(pointer:coarse) {
+ /* TODO(kevers): Remove the extra padding once the following bug is fixed:
+ * https://bugs.webkit.org/show_bug.cgi?id=95204
+ * In the interim, the added padding makes it less likely that a touch will
+ * span the boundary of the navigation bar, which results in poor touch
+ * adjustments. */
+ body.uber-frame section {
+ -webkit-padding-start: 28px;
+ }
+ body.uber-frame section > h3 {
+ -webkit-margin-start: -28px;
+ }
+}
+
body.uber-frame section > div:only-of-type {
-webkit-box-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