From c8750ae032f73d435e00d13a50dd96de95fe3866 Mon Sep 17 00:00:00 2001 From: Elisabeth Dickinson Date: Wed, 9 Jun 2021 11:22:58 +0200 Subject: [PATCH 1/2] [FIX] odoo_theme: fix header display on small screen widths The highlight-link was pushing the header height to be on two lines. It is now absolutely positioned below the searchbar instead of to its right. The switchers now push themselves to the right instead of being pushed by the searchbar-wrapper. --- .../odoo_theme/layout_templates/header.html | 2 +- .../layout_templates/searchbox.html | 2 +- .../layout_templates/version_switcher.html | 2 +- extensions/odoo_theme/static/style.scss | 22 ++++++++----------- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html index 7922bba2a..ff2cad8fd 100644 --- a/extensions/odoo_theme/layout_templates/header.html +++ b/extensions/odoo_theme/layout_templates/header.html @@ -5,7 +5,7 @@ {%- include "layout_templates/searchbox.html" %} -
+
{%- include "layout_templates/language_switcher.html" %} {%- include "layout_templates/version_switcher.html" %} Try Odoo for FREE diff --git a/extensions/odoo_theme/layout_templates/searchbox.html b/extensions/odoo_theme/layout_templates/searchbox.html index 22c7b5f90..8d3189f96 100644 --- a/extensions/odoo_theme/layout_templates/searchbox.html +++ b/extensions/odoo_theme/layout_templates/searchbox.html @@ -1,5 +1,5 @@ {# NOTE: the 'searchbox' id is used to hook the "Hide Search Matches" button #} -