Skip to content

Commit

Permalink
Fix service alert close button
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Jan 28, 2025
1 parent 4ca535f commit 69b183b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="container">
<i class="fal fa-exclamation-circle fa-lg"></i>
<span class="service-alert-message">{{ service_alert['message'] }}</span>
<button type="button" class="close" data-dismiss="alert" aria-label="{{ _('Close') }}">{{ _('Close') }}<i class="fal fa-times"></i></button>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ _('Close') }}">{{ _('Close') }}<i class="fal fa-times"></i></button>
</div>
</div>
{% endfor %}
Expand Down
5 changes: 4 additions & 1 deletion ckanext/ckanext-apicatalog/scss/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,15 @@ textarea {
font-family: $headings-font-family;
}

button.close {
button.btn-close {
font-size: 16px;
color: $suomifi-text-base;
opacity: 1;
line-height: 30px;
margin-right: 20px;
background: none;
width: auto;
padding-top: 0;

i.far,
i.fas,
Expand Down

0 comments on commit 69b183b

Please sign in to comment.