From 8d3baa20feb8c1a0fb5bece6fb8b111d04780593 Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Thu, 2 Nov 2023 16:25:29 +0100 Subject: [PATCH] [FIX] web: fix contrast issue in settings mobile view This commit fixes a contrast and readability issue on the active tab within Settings on small devices. Prior to this commit, an active tab on mobile view would use a primary background, while nothing would be declared for its text color. This would cause readability issue, with a dark text on a primary background. To avoid this kind of issue, we set a `text-bg-primary` class to our button to ensure it gets readable, and also set a `shadow-none` to prevent the `tip` of the tab to appear in mobile, since it would use another color. task-3580676 closes odoo/odoo#140751 Signed-off-by: Luca Vitali (luvi) --- .../src/webclient/settings_form_view/settings/settings_page.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/webclient/settings_form_view/settings/settings_page.xml b/addons/web/static/src/webclient/settings_form_view/settings/settings_page.xml index ddbd72a860b..7663c8166f7 100644 --- a/addons/web/static/src/webclient/settings_form_view/settings/settings_page.xml +++ b/addons/web/static/src/webclient/settings_form_view/settings/settings_page.xml @@ -7,7 +7,7 @@