Don't constrain max diff line length to 80ch via CSS

Because CJK (Chinese-Japanese-Korean) glyphs may have variable width.

Bug: Issue 7984
Change-Id: Ifef672f03329db3770279f28f50033bd50f23934
This commit is contained in:
Viktar Donich
2018-04-11 13:34:40 -07:00
parent 4418114968
commit 60cbd2f4c6

View File

@@ -119,9 +119,9 @@ limitations under the License.
} }
.content { .content {
overflow: hidden; overflow: hidden;
/* Set max and min width since setting width on table cells still /* Set min width since setting width on table cells still
allows them to shrink. */ allows them to shrink. Do not set max width because
max-width: var(--content-width, 80ch); CJK (Chinese-Japanese-Korean) glyphs have variable width */
min-width: var(--content-width, 80ch); min-width: var(--content-width, 80ch);
width: var(--content-width, 80ch); width: var(--content-width, 80ch);
} }