From 86e62473e6d1a6bdff009e60d729e07ee0a7b344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=C3=ADaz?= Date: Tue, 12 Feb 2019 04:15:44 +0100 Subject: [PATCH] [IMP] Sticky chatter topbar --- web_responsive/__manifest__.py | 2 +- .../static/src/css/web_responsive.scss | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py index 9dc4f11f..200118aa 100644 --- a/web_responsive/__manifest__.py +++ b/web_responsive/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Web Responsive", "summary": "Responsive web client, community-supported", - "version": "12.0.1.0.0", + "version": "12.0.1.1.0", "category": "Website", "website": "https://github.com/OCA/web", "author": "LasLabs, Tecnativa, Alexandre Díaz, " diff --git a/web_responsive/static/src/css/web_responsive.scss b/web_responsive/static/src/css/web_responsive.scss index 85c089cc..cb278c11 100644 --- a/web_responsive/static/src/css/web_responsive.scss +++ b/web_responsive/static/src/css/web_responsive.scss @@ -420,6 +420,22 @@ html .o_web_client .o_main .o_main_content { max-width: 50%; min-width: 30%; overflow: auto; + + .o_chatter_topbar, + .o_thread_composer { + position: sticky; + } + + .o_chatter_topbar { + top: 0; + z-index: 2; + background-color: $o-view-background-color; + } + + .o_thread_composer { + top: $o-statusbar-height; + z-index: 1; + } } } }