1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00: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}} {{i18n.notes}}
</div> </div>
<div class="list-section-items"> <div class="list-section-items">
<div class="list-section-item"> <div class="list-section-item pre">{{login.notes}}</div>
{{login.notes}}
</div>
</div> </div>
</div> </div>
</div> </div>

View File

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