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

Unified Diff: chrome/browser/resources/ntp4/tile_page.css

Issue 7602003: ntp4: increase size of left/right page margins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also remove mask Created 9 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 | « chrome/browser/resources/ntp4/new_tab.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/tile_page.css
diff --git a/chrome/browser/resources/ntp4/tile_page.css b/chrome/browser/resources/ntp4/tile_page.css
index b45a1d29f68b427f983be123295874c35e048dad..cca6ad77507106ecf65f3751a0bceca8ea383467 100644
--- a/chrome/browser/resources/ntp4/tile_page.css
+++ b/chrome/browser/resources/ntp4/tile_page.css
@@ -26,14 +26,17 @@
position: relative;
text-align: center;
width: 100%;
+ /* TODO(estade): this mask is disabled for technical reasons. It negatively
+ * impacts performance of page switching, also it causes problems with Mac
+ * text: http://crbug.com/86955
-webkit-mask-image: -webkit-linear-gradient(bottom, transparent, black 30px);
+ */
/* The following four properties are necessary so that the mask won't clip
* the scrollbar. */
box-sizing: border-box;
- /* Scrollbar + balance right padding. */
- padding-left: 26px;
- /* Same width as the scrollbar. */
- padding-right: 13px;
+ /* Scrollbar width(13px) + balance right padding. */
+ padding-left: 93px;
+ padding-right: 80px;
/* Don't apply clip mask to padding. */
-webkit-mask-clip: content-box;
}
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698