diff options
| author | stefanorigano <sri@odoo.com> | 2018-05-07 17:21:25 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2018-05-11 09:47:09 +0200 |
| commit | ba38d22f9d5584aa9d9222bdcac3cdab0148ba17 (patch) | |
| tree | 58c9ce5d2f25fa82eca178dc28c65595dc65f600 /addons/web_editor/static/src | |
| parent | aae54ecc159d109a044fbaa8151f1104897f2203 (diff) | |
[FIX] portal: nav in title
The commit fix an issue causing the portal navbar to overlap/inherit wrong style in customised websites.
The previous layout used to add the entire portal navbar inside an <h3>, causing inner elements to inherit the titles style.
According to WC3 standards, titles can have phrasing content only.
Titles reference > https://w3c.github.io/html-reference/h3.html
Phrasing content reference > https://w3c.github.io/html-reference/common-models.html#common.elem.phrasing
By chance this issue was not visible on runbot, but was severely affecting our website and probably clients ones too.
This commit wrap the portal navbar in a standard bootstrap navbar structure, fixing the title issue and provinding some imp. too:
- Search is now available for mobile
- Modules can inject a custom/botstrap class (eg. navbar-default) ot customize design if needed
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
