Browse Source

Merge pull request #1187 from Tardo/pr_imp_sticky

[12.0][IMP] web_responsive: Sticky chatter topbar
pull/1193/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
f28cc849f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_responsive/__manifest__.py
  2. 16
      web_responsive/static/src/css/web_responsive.scss

2
web_responsive/__manifest__.py

@ -5,7 +5,7 @@
{ {
"name": "Web Responsive", "name": "Web Responsive",
"summary": "Responsive web client, community-supported", "summary": "Responsive web client, community-supported",
"version": "12.0.1.0.0",
"version": "12.0.1.1.0",
"category": "Website", "category": "Website",
"website": "https://github.com/OCA/web", "website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, Alexandre Díaz, " "author": "LasLabs, Tecnativa, Alexandre Díaz, "

16
web_responsive/static/src/css/web_responsive.scss

@ -420,6 +420,22 @@ html .o_web_client .o_main .o_main_content {
max-width: 50%; max-width: 50%;
min-width: 30%; min-width: 30%;
overflow: auto; 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;
}
} }
} }
} }

Loading…
Cancel
Save