[IMP][CSS] Fix unresponsive font-size on alert text

By removing $font-size-sm on the alerts, the text is bigger. The title
text and its icon have been increased as well.
This commit is contained in:
Elisabeth Dickinson 2022-12-29 13:45:36 +01:00 committed by Antoine Vandevenne (anv)
parent d52966b147
commit 6d09d506b9

View File

@ -888,7 +888,6 @@ header {
.alert {
border-width: 0 0 0 $alert-border-width;
@include font-size($font-size-sm);
> *:not(.sphinx-tabs) .o_code, > *:not(.sphinx-tabs) div[class^="highlight"] {
background-color: $white !important;
@ -907,12 +906,12 @@ header {
> h3, > .alert-title {
line-height: 1em;
margin: 0 0 10px 0;
@include font-size($font-size-base);
@include font-size($h5-font-size);
font-weight: $font-weight-bolder;
&:before {
content: var(--o-alert-icon, #{$o-alert-default-icon});
@include o-inline-icon(0 $o-icon-margin 0 0, baseline, $font-size-base, inherit);
@include o-inline-icon(0 $o-icon-margin 0 0, baseline, inherit, inherit);
@include media-breakpoint-down(md) {
display:none;
}