Limit the width of comments in the message list

Change-Id: Ia8788f9cb436529b3e1ae58d4a68e4ddd74d5469
This commit is contained in:
Wyatt Allen
2016-10-14 16:09:03 -07:00
parent 2a5cabef13
commit a258d65515
2 changed files with 4 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ limitations under the License.
} }
.message { .message {
flex: 1; flex: 1;
max-width: 80ch;
} }
</style> </style>
<template is="dom-repeat" items="[[_computeFilesFromComments(comments)]]" as="file"> <template is="dom-repeat" items="[[_computeFilesFromComments(comments)]]" as="file">

View File

@@ -80,6 +80,9 @@ limitations under the License.
.content { .content {
font-family: var(--monospace-font-family); font-family: var(--monospace-font-family);
} }
.message {
max-width: 80ch;
}
.collapsed .name, .collapsed .name,
.collapsed .content, .collapsed .content,
.collapsed .message, .collapsed .message,