Commit 03f92bb2 authored by estade@chromium.org's avatar estade@chromium.org

fix cookie info table width for certain locales

Long cookie contents will now wrap earlier than they need to. CSS really doesn't want to do what we want (wrap the text at the inherited width, or anything except a hardcoded width). So I set the width to be narrower (300 instead of 520) and also set the table's layout to fixed, so that even if 300 is too wide the whole table won't overflow.

BUG=69447
TEST=LANGUAGE=fr_FR ./out/Release/chrome

Review URL: http://codereview.chromium.org/6327013

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72026 0039d316-1c4b-4281-b951-d872f2087c98
parent 3ce4a91c
...@@ -5,6 +5,7 @@ found in the LICENSE file. ...@@ -5,6 +5,7 @@ found in the LICENSE file.
*/ */
.cookies-info-table { .cookies-info-table {
table-layout: fixed;
width: 100%; width: 100%;
} }
...@@ -38,6 +39,6 @@ html[dir=ltr] .cookie-details-label { ...@@ -38,6 +39,6 @@ html[dir=ltr] .cookie-details-label {
#cookieContent { #cookieContent {
display: block; display: block;
width: 520px; width: 300px;
word-wrap: break-word; word-wrap: break-word;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment