-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #798 from maykinmedia/fix/1754-warningbanner-icon-…
…styling [#1754] Style icon in warning-banner
- Loading branch information
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
18 changes: 9 additions & 9 deletions
18
src/open_inwoner/components/templates/components/Header/WarningHeader.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{% load i18n icon_tags link_tags static %} | ||
|
||
<style nonce="{{ request.csp_nonce }}"> | ||
.warning-header { | ||
background-color: {{ warning_banner_background_color }}; | ||
color: {{ warning_banner_font_color }}; | ||
} | ||
<style nonce="{{ request.csp_nonce }}"> | ||
.warning-header { | ||
background-color: {{ warning_banner_background_color }}; | ||
color: {{ warning_banner_font_color }}; | ||
} | ||
</style> | ||
|
||
<div class="warning-header"> | ||
<div class="warning-header__container"> | ||
<span class="warning-header__icon">{% icon icon="error_outlined" icon_position="after" outlined=True %}</span> | ||
<span class="warning-header__text">{{ warning_banner_text }}</span> | ||
</div> | ||
<div class="warning-header__container"> | ||
<span class="warning-header__icon">{% icon icon="error_outlined" icon_position="after" outlined=True %}</span> | ||
<span class="warning-header__text">{{ warning_banner_text }}</span> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters