summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/new_new_tab.css2
-rw-r--r--chrome/browser/resources/new_new_tab.html2
-rw-r--r--chrome/browser/resources/new_new_tab.js4
3 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css
index 189679c..f1d71c2 100644
--- a/chrome/browser/resources/new_new_tab.css
+++ b/chrome/browser/resources/new_new_tab.css
@@ -347,7 +347,7 @@ html[dir=rtl] .thumbnail-container > .title > div {
}
#notification .link {
- -webkit-margin-start: 20px;
+ -webkit-padding-start: 20px;
}
#notification > span > .blacklist-title {
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html
index 6f62878..24bfed0 100644
--- a/chrome/browser/resources/new_new_tab.html
+++ b/chrome/browser/resources/new_new_tab.html
@@ -84,7 +84,7 @@ document.write('<link id="themecss" rel="stylesheet" ' +
<div id="notification">
<span>&nbsp;</span>
- <span><span class="link"></span></span>
+ <span class="link"><span class="link-color"></span></span>
</div>
<div id="most-visited">
diff --git a/chrome/browser/resources/new_new_tab.js b/chrome/browser/resources/new_new_tab.js
index 3b4dfe2..10c9eb9 100644
--- a/chrome/browser/resources/new_new_tab.js
+++ b/chrome/browser/resources/new_new_tab.js
@@ -904,7 +904,7 @@ function showNotification(text, actionText, opt_f, opt_delay) {
// Remove any possible first-run trails.
removeClass(notification, 'first-run');
- var actionLink = notificationElement.querySelector('.link');
+ var actionLink = notificationElement.querySelector('.link-color');
notificationElement.firstElementChild.textContent = text;
actionLink.textContent = actionText;
@@ -924,7 +924,7 @@ function showNotification(text, actionText, opt_f, opt_delay) {
function hideNotification() {
var notificationElement = $('notification');
removeClass(notificationElement, 'show');
- var actionLink = notificationElement.querySelector('.link');
+ var actionLink = notificationElement.querySelector('.link-color');
// Prevent tabbing to the hidden link.
actionLink.tabIndex = -1;
}