summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-13 22:26:48 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-13 22:26:48 +0000
commit0ff4f5d315a8c17e95fc30fc9983a10a84c627d6 (patch)
tree7ce1341b7ccb3de9d447c0b88325a060a8d93b59
parent0445eb4ed9f9a9bb86f8c4338f86a84fbce7b7f2 (diff)
downloadchromium_src-0ff4f5d315a8c17e95fc30fc9983a10a84c627d6.zip
chromium_src-0ff4f5d315a8c17e95fc30fc9983a10a84c627d6.tar.gz
chromium_src-0ff4f5d315a8c17e95fc30fc9983a10a84c627d6.tar.bz2
Fix some issues with the New Tab Page:
* In RTL, the options dropmarker button was still on the right (overlaying the Chrome logo and opposite where the dropdown menu would actually appear) * Missing a <head> tag * Made the "attribution" block at the bottom corner of the NTP be at the end rather than always on the right BUG=none TEST=Use NTP with --lang=he and check dropmarker and custom theme attribution position Review URL: http://codereview.chromium.org/3122015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56103 0039d316-1c4b-4281-b951-d872f2087c98
-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_tab_theme.css2
3 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/resources/new_new_tab.css b/chrome/browser/resources/new_new_tab.css
index bc04233..80d991c 100644
--- a/chrome/browser/resources/new_new_tab.css
+++ b/chrome/browser/resources/new_new_tab.css
@@ -263,6 +263,7 @@ html[dir=rtl] .item {
height: 17px;
position: absolute;
right: 0;
+ left: auto;
top: 20px;
border: 0;
padding: 0;
@@ -289,6 +290,7 @@ html[dir=rtl] .item {
min-width: 175px;
}
+html[dir=rtl] #option-button,
html[dir=rtl] #option-menu {
right: auto;
left: 0;
diff --git a/chrome/browser/resources/new_new_tab.html b/chrome/browser/resources/new_new_tab.html
index 3064678..c8a01b5 100644
--- a/chrome/browser/resources/new_new_tab.html
+++ b/chrome/browser/resources/new_new_tab.html
@@ -6,7 +6,7 @@
anim:anim;
syncispresent:syncispresent;
has_3d:has_3d">
-
+<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<script>
diff --git a/chrome/browser/resources/new_tab_theme.css b/chrome/browser/resources/new_tab_theme.css
index ae39264..150d3be 100644
--- a/chrome/browser/resources/new_tab_theme.css
+++ b/chrome/browser/resources/new_tab_theme.css
@@ -90,7 +90,7 @@ body {
#attribution {
display: $$5;
color: $9; /* COLOR_NTP_LINK */
- text-align: right;
+ text-align: end;
}
#tip-line {