[FIX] website_forum, *: review header nav layout
* website_slides_forum Move the '.container' inside the navbar in order to avoid unnecessary horizontal padding. Part of https://github.com/odoo/odoo/pull/35749 task-2024197
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<div t-field="forum.welcome_message"/>
|
||||
</div>
|
||||
|
||||
<div class="container mt16 mb32 ">
|
||||
<div class="o_forum_nav_header_container mb-4">
|
||||
<t t-call="website_forum.forum_nav_header"></t>
|
||||
</div>
|
||||
|
||||
@@ -143,6 +143,7 @@
|
||||
|
||||
<template id="forum_nav_header">
|
||||
<div class="navbar navbar-expand-md navbar-light">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" t-attf-href="/forum/#{slug(forum)}">
|
||||
<span t-field="forum.name"/>
|
||||
</a>
|
||||
@@ -197,6 +198,7 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- Template use to edit the welcome_message -->
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo><data>
|
||||
<template id="website_slides_forum_header" inherit_id="website_forum.header">
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<xpath expr="//div[hasclass('o_forum_nav_header_container')]" position="before">
|
||||
<t t-if="forum.slide_channel_id">
|
||||
<div class="o_wforum_elearning_navtabs_container">
|
||||
<div class="container">
|
||||
|
||||
Reference in New Issue
Block a user