Prevent dollars and cents from wrapping in header
This commit is contained in:
parent
a2128012f0
commit
2ed0b1b06b
@ -116,7 +116,11 @@
|
||||
margin-left: -.4rem;
|
||||
}
|
||||
|
||||
.cents {
|
||||
.portfolio-header__budget--amount {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.portfolio-header__budget--cents {
|
||||
font-size: 2rem;
|
||||
margin-top: .75rem;
|
||||
margin-left: -.7rem;
|
||||
|
@ -21,11 +21,11 @@
|
||||
{{ Icon('info') }}
|
||||
</button>
|
||||
</div>
|
||||
<div>
|
||||
<div class='portfolio-header__budget--amount'>
|
||||
<span class='portfolio-header__budget--dollars'>
|
||||
{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justDollars }}
|
||||
</span>
|
||||
<span class='cents'>
|
||||
<span class='portfolio-header__budget--cents'>
|
||||
.{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justCents }}
|
||||
</span>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user