fixes styles on callout warning
This commit is contained in:
@@ -921,6 +921,14 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.callout.warning {
|
||||||
|
font-size: $base-font-size;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $color-warning;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.welcome {
|
&.welcome {
|
||||||
background: $budget image-url('spending_proposals_bg.jpg');
|
background: $budget image-url('spending_proposals_bg.jpg');
|
||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
|
|||||||
@@ -35,13 +35,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h1><%= @heading.name %></h1>
|
<h1><%= @heading.name %></h1>
|
||||||
<p class="callout warning inline-block">
|
<div class="small-12 medium-9">
|
||||||
<%= t("budgets.investments.header.different_heading_assigned_html",
|
<div class="callout warning">
|
||||||
heading_link: link_to(
|
<%= t("budgets.investments.header.different_heading_assigned_html",
|
||||||
@assigned_heading.name,
|
heading_link: link_to(
|
||||||
budget_investments_path(@budget, heading: @assigned_heading))
|
@assigned_heading.name,
|
||||||
) %>
|
budget_investments_path(@budget, heading: @assigned_heading))
|
||||||
</p>
|
) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h1 class="margin-top"><%= @heading.name %></h1>
|
<h1 class="margin-top"><%= @heading.name %></h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user