diff options
author | dubroy@chromium.org <dubroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-13 12:18:28 +0000 |
---|---|---|
committer | dubroy@chromium.org <dubroy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-13 12:18:28 +0000 |
commit | 96daf84644070269b85fb471e96c94c78a836918 (patch) | |
tree | 5168d95b2806cba5b98081fecb7186ed3a37e297 | |
parent | c78ac09acfa96b97e11492a13b4d9b379eaea4ea (diff) | |
download | chromium_src-96daf84644070269b85fb471e96c94c78a836918.zip chromium_src-96daf84644070269b85fb471e96c94c78a836918.tar.gz chromium_src-96daf84644070269b85fb471e96c94c78a836918.tar.bz2 |
History: Fix underline quirk in Newer/Older links at bottom of page.
Using padding around the chevron characters resulted in a weird gap
in the underline. Using a nbsp character solves this.
R=jhawkins@chromium.org
BUG=230819
TEST=Open the history page, hover over the Older/Newer links, and
verify that the underline is continuous.
Review URL: https://chromiumcodereview.appspot.com/13844008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194103 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/resources/history/history.css | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/resources/history/history.css b/chrome/browser/resources/history/history.css index bbf169a..4a4a3e3 100644 --- a/chrome/browser/resources/history/history.css +++ b/chrome/browser/resources/history/history.css @@ -458,25 +458,25 @@ html[dir='rtl'] #older-button { } html[dir='ltr'] #newest-button::before { - -webkit-padding-end: 0.3em; - content: '\00AB'; /* Left-pointing double angle quotation mark. */ + /* Left-pointing double angle quotation mark followed by ' '. */ + content: '\00AB\A0'; } html[dir='rtl'] #newest-button::after { - -webkit-padding-start: 0.3em; - content: '\00BB'; /* Right-pointing double angle quotation mark. */ + /* ' ' followed by right-pointing double angle quotation mark. */ + content: '\A0\00BB'; } html[dir='ltr'] #newer-button::before, html[dir='rtl'] #older-button::before { - -webkit-padding-end: 0.3em; - content: '\2039'; /* Single left-pointing angle quotation mark. */ + /* Single left-pointing angle quotation mark followed by ' '. */ + content: '\2039\A0'; } html[dir='ltr'] #older-button::after, html[dir='rtl'] #newer-button::after { - -webkit-padding-start: 0.3em; - content: '\203A'; /* Single right-pointing angle quotation mark. */ + /* 'nbsp;' followed by single right-pointing angle quotation mark. */ + content: '\A0\203A'; } /* Clear the float to ensure that #results-pagination encloses its children. */ |