adjust alert headers
This commit is contained in:
parent
4d5ddb447e
commit
106fe17aa7
@ -4,6 +4,11 @@
|
|||||||
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/components/_alerts.scss
|
* @source https://github.com/uswds/uswds/blob/develop/src/stylesheets/components/_alerts.scss
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.usa-alert-heading {
|
||||||
|
line-height: 2.4rem;
|
||||||
|
margin-bottom: $gap;
|
||||||
|
}
|
||||||
|
|
||||||
@mixin alert {
|
@mixin alert {
|
||||||
padding: $gap * 2;
|
padding: $gap * 2;
|
||||||
border-left-width: $gap / 2;
|
border-left-width: $gap / 2;
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
<div class='usa-alert-body'>
|
<div class='usa-alert-body'>
|
||||||
{% if vue_template %}
|
{% if vue_template %}
|
||||||
<h2 class='usa-alert-heading' v-html='title'></h2>
|
<h3 class='usa-alert-heading' v-html='title'></h3>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h2 class='usa-alert-heading'>{{title}}</h2>
|
<h3 class='usa-alert-heading'>{{title}}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if message %}
|
{% if message %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user