Skip to content

Commit 431e825

Browse files
committed
MB-48926 Delete mn.text.expander.html line breaks
The logs lines don't have an extra space anymore in the logs page. Removing line breaks inside mn.text.expander.html file is necessary because this component uses 'white-space: pre-line', a CSS property which takes into account the line breaks written in HTML. Change-Id: Id0f84c017e1fa26636aec39fc22102e6dfcb7c62 Reviewed-on: https://review.couchbase.org/c/ns_server/+/165638 Tested-by: Raluca Lupu <[email protected]> Well-Formed: Build Bot <[email protected]> Reviewed-by: Pavel Blagodov <[email protected]>
1 parent e3430f0 commit 431e825

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

priv/public/ui/app/mn.text.expander.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@
77
be governed by the Apache License, Version 2.0, included in the file
88
licenses/APL2.txt.
99
-->
10-
<span
11-
class="pre-line">
12-
{{ text|mnTruncate:((toggler.state | async) ? Infinity : limit)}}
13-
</span>
10+
<span class="pre-line">{{text|mnTruncate:((toggler.state | async) ? Infinity : limit):''}}</span>
1411
<a
1512
[hidden]="!isOverLimit"
16-
(click)="toggler.click.next()">
17-
{{(toggler.state | async) ? 'hide' : 'show...'}}
18-
</a>
13+
(click)="toggler.click.next()">{{(toggler.state | async) ? 'hide' : 'show...'}}</a>
1914

0 commit comments

Comments
 (0)