1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-30 04:28:19 +02:00

"pre" style notes view with overflow-x scrolling

This commit is contained in:
Kyle Spearrin 2017-06-13 12:21:44 -04:00
parent a7c560b23e
commit 0bdf2a3e77
2 changed files with 10 additions and 4 deletions

View File

@ -54,9 +54,7 @@
{{i18n.notes}}
</div>
<div class="list-section-items">
<div class="list-section-item">
{{login.notes}}
</div>
<div class="list-section-item pre">{{login.notes}}</div>
</div>
</div>
</div>

View File

@ -238,7 +238,15 @@
color: @text-color;
position: relative;
z-index: 1;
&:extend(.clearfix all);
&:not(.pre) {
&:extend(.clearfix all);
}
&.pre {
white-space: pre;
overflow-x: auto;
}
&.text-primary {
color: @brand-primary !important;