Fix prefix wrapping again
nowrap is not enough because it still breaks on hyphens sometimes. But since we're using pre now, we need to make sure no whitespace/newline is around each <span> because they will be outputted.
This commit is contained in:
parent
fba78d490e
commit
6b8f5b5a0f
2 changed files with 2 additions and 4 deletions
|
@ -53,7 +53,7 @@ td.prefix {
|
|||
text-align: right;
|
||||
vertical-align: top;
|
||||
padding-right: 5px;
|
||||
white-space: nowrap;
|
||||
white-space: pre;
|
||||
}
|
||||
td.message {
|
||||
word-wrap: break-word;
|
||||
|
|
|
@ -191,9 +191,7 @@
|
|||
{{ bufferline.date | date:'HH:mm' }}
|
||||
</span>
|
||||
</td>
|
||||
<td class="prefix vertical-line">
|
||||
<span ng-repeat="part in bufferline.prefix" class="text" style="{{ part.fg }}">{{ part.text }}</span>
|
||||
</td>
|
||||
<td class="prefix vertical-line"><span ng-repeat="part in bufferline.prefix" style="{{ part.fg }}">{{ part.text }}</span></td>
|
||||
<td class="message">
|
||||
<span ng-repeat="part in bufferline.content" class="text" style="{{ part.fg }}" ng-bind-html="part.text"></span>
|
||||
|
||||
|
|
Loading…
Reference in a new issue