Merge pull request #1414 from dod-ccpo/fix-view-only-in-ff
Fix portfolio header in FF
This commit is contained in:
commit
697efc92bc
@ -20,14 +20,11 @@
|
|||||||
|
|
||||||
.col--grow {
|
.col--grow {
|
||||||
overflow: inherit;
|
overflow: inherit;
|
||||||
display: table;
|
align-self: center;
|
||||||
min-height: 10rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__name {
|
&__name {
|
||||||
@include h1;
|
@include h1;
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle;
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
<h1>{{ portfolio.name }}</h1>
|
<h1>{{ portfolio.name }}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col">
|
||||||
<div class='row links'>
|
<div class='row links'>
|
||||||
{% if user_can(permissions.VIEW_PORTFOLIO_ADMIN) %}
|
{% if user_can(permissions.VIEW_PORTFOLIO_ADMIN) %}
|
||||||
{{ Link(
|
{{ Link(
|
||||||
@ -47,6 +48,6 @@
|
|||||||
active=request.url_rule.endpoint == "portfolios.reports",
|
active=request.url_rule.endpoint == "portfolios.reports",
|
||||||
) }}
|
) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user