Index: chrome/browser/resources/ntp4/incognito_and_guest_tab.css |
diff --git a/chrome/browser/resources/ntp4/incognito_and_guest_tab.css b/chrome/browser/resources/ntp4/incognito_and_guest_tab.css |
index fb398dd94f87ed085d516f90e40f767f1f43eb67..90e52d921d9e3bf5ce6fd9d5826674ff8a73b49a 100644 |
--- a/chrome/browser/resources/ntp4/incognito_and_guest_tab.css |
+++ b/chrome/browser/resources/ntp4/incognito_and_guest_tab.css |
@@ -7,12 +7,12 @@ |
h1 { |
font-size: 200%; |
- font-weight: normal; |
+ font-weight: 300; |
margin-bottom: 1.33em; |
} |
p { |
- line-height: 1.7; |
+ line-height: 1.5; |
margin-bottom: 2em; |
text-align: start; |
} |
@@ -30,9 +30,10 @@ a:hover { |
.content { |
box-sizing: border-box; |
margin: 3.5em auto 0; |
+ max-width: 420px; |
+ min-width: 240px; |
padding: 30px 35px; |
text-align: center; |
- width: 420px; |
} |
html[hascustombackground='true'] .content { |
@@ -54,6 +55,11 @@ html[hascustombackground='true'] .content { |
body { |
margin: 3em 1.5em 2em; |
} |
+ |
+ /* Adjustment for narrow screen to prevent horizontal scrollbar. */ |
+ .content { |
+ padding: 16px 8px; |
+ } |
} |
@media (max-height:480px) and (max-width:400px) { |