Due to the removal of btn-block we need to change the display to grid > Dropped .btn-block for utilities. Instead of using .btn-block on the > .btn, wrap your buttons with .d-grid and a .gap-* utility to space > them as needed https://getbootstrap.com/docs/5.1/migration/#buttons Task ID: 2766483 Part-of: odoo/odoo#95450
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<templates>
|
|
<t t-extend="mail.systray.ActivityMenu.Previews">
|
|
<t t-jquery="t[t-foreach*='activities'][t-as*='activity']" t-operation="after">
|
|
<div class="o_note_show d-grid">
|
|
<a role="button" class="btn text-center">Add new note</a>
|
|
</div>
|
|
<div class="o_note o_mail_preview d-none">
|
|
<div class="o_mail_preview_image o_mail_preview_app">
|
|
<img src="/note/static/description/icon.svg" alt="Channel"/>
|
|
</div>
|
|
<div class="o_preview_info">
|
|
<div class="o_preview_title">
|
|
<span class="o_preview_name"><strong>Add a note</strong></span>
|
|
<div class="o_note_datetime"/>
|
|
<span class="ml4">
|
|
<a class="o_note_set_datetime">
|
|
<span class="fa fa-calendar" role="img" aria-label="Set date and time" title="Set date and time"/>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div class="o_note_input_box">
|
|
<p><input class="o_note_input" type="text" placeholder="Remember..." /></p>
|
|
<span class="ml8 mr4">
|
|
<a class="o_note_save">SAVE</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</t>
|
|
</t>
|
|
</templates>
|