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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user