[FIX] point_of_sale: proper style for button to open input

Part-of: odoo/odoo#140891
This commit is contained in:
Joseph Caburnay
2023-11-04 03:25:45 +00:00
parent 5b587b2223
commit b91aea2351
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="point_of_sale.input">
<div t-attf-class="{{props.class}} d-flex align-items-center">
<button t-if="props.isSmall"
class="p-3 rounded"
<div t-attf-class="{{props.class}} d-flex align-items-center gap-1">
<button t-if="props.isSmall"
class="p-2 rounded btn btn-secondary"
t-on-click="() => state.isOpen = !state.isOpen">
<i t-if="state.isOpen" class="fa fa-arrow-right"/>
<t t-else="props.iconOnLeftSide" t-call="point_of_sale.inputIcon" />