Skip to content
Snippets Groups Projects
Commit d120b838 authored by utag-odoo's avatar utag-odoo Committed by Romain Derie
Browse files

[FIX] website: make navbar content invisible when block invisible


Steps to reproduce:
 1. Go to the website
 2. Add website languages
 3. Drag Table Of Content
 4. Select snippet block
 5. Go to customize the block
 6. Select visibility conditionally - set visible/hide for languages.

Before the commit, selecting block visibility conditionally makes only
the block is invisible but not the navbar content is invisible due to the
absence of the `data-visibility-id` attribute.

In this commit, handling conditional visibility of the navbar when the
the snippet block is invisible.
Also, This PR addresses an issue where a scroll bar was appearing on
`list-group-item` elements in Bootstrap 4.1.3. The scroll bar was caused
by the CSS property `margin-bottom: -1px;`.

task-3373943

closes odoo/odoo#126705

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent bf090c48
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment