Skip to content

Commit

Permalink
Add isolation for white-space: pre-wrap for settings description.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegoO committed Apr 25, 2023
1 parent 0fc565a commit 2ed0191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ ol
word-wrap: break-word
// web-kit only
word-break: break-word
.list-descr-white-space
white-space: pre-wrap
.alert
color: $genericErrorColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</ui-select>
</div>
<div ng-if="setting.descrVisible">
<div class="list-descr"> {{ 'settings.' + data.name + '.description' | translate }} </div>
<div class="list-descr list-descr-white-space"> {{ 'settings.' + data.name + '.description' | translate }} </div>
<a href="" ng-click="setting.descrVisible = null;">{{ 'platform.blades.settings-detail.hide-description' | translate}}</a>
</div>
</div>
Expand Down

0 comments on commit 2ed0191

Please sign in to comment.