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 { |