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

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

Issue 7647001: ntp4: attribution tweak (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/new_tab.css
diff --git a/chrome/browser/resources/ntp4/new_tab.css b/chrome/browser/resources/ntp4/new_tab.css
index bf4114c079c539cbda3404acd89806be28ce2188..344af8d78b3d291a4459eeac224727862b6714fb 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -108,17 +108,28 @@ body {
#attribution {
bottom: 0;
- position: absolute;
+ left: auto;
+ margin-left: 8px;
/* Leave room for the scrollbar. */
- right: 13px;
+ margin-right: 13px;
+ position: absolute;
+ right: 0;
+ text-align: left;
z-index: -5;
}
+/* For themes that right-align their images, we flip the attribution to the
+ * left to avoid conflicts. */
+html[themegravity='right'] #attribution,
+html[dir='rtl'] #attribution {
+ left: 0;
+ right: auto;
+ text-align: right;
+}
+
#attribution > span {
display: block;
font-size: 84%;
- /* Text should be left aligned regardless of diretionality. */
- text-align: left;
}
#footer {
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698