From 6d09d506b9b6f65b9843e54253908456c3998611 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Thu, 29 Dec 2022 13:45:36 +0100 Subject: [PATCH] [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. --- extensions/odoo_theme/static/style.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/odoo_theme/static/style.scss b/extensions/odoo_theme/static/style.scss index 640c38e19..b67e2d298 100644 --- a/extensions/odoo_theme/static/style.scss +++ b/extensions/odoo_theme/static/style.scss @@ -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; }