[FIX] discuss: channel name overflow

Before this commit:
The channel name used to overflow in the channel suggestion section.

After this commit:
The name will not overflow in the channnel suggestion section also
added limit on input character.

Task id: 3366608

closes odoo/odoo#126872

X-original-commit: 95c4b24a4fe8f2af1fce73e99684815d14a895be
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Odoo
2023-06-30 01:33:03 +02:00
parent a746294b46
commit a31fe2bb82
@@ -12,13 +12,14 @@
t-on-click="(ev) => markEventHandled(ev, 'channelSelector.onClickInput')"
t-on-keydown="onKeydownInput"
type="text"
maxlength="100"
/>
</div>
<NavigableList class="'o-discuss-ChannelSelector-list z-index-1'" t-props="navigableListProps"/>
</t>
<t t-name="discuss.ChannelSelector.channel" owl="1">
<strong class="px-2 py-1 align-self-center flex-shrink-0 text-truncate">
<strong class="px-2 py-1 align-self-center flex-shrink-1 text-break">
<t t-if="option.channelId === '__create__'">
Create: #
</t>