Skip to content

Commit

Permalink
fix(ui-kit/chat): footer icon button height
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and AliMD committed Mar 6, 2023
1 parent a158f05 commit 8353fbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions ui/ui-kit/src/chat/chat-footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ export class AlwatrChatFooter extends AlwatrBaseElement {
color: var(--sys-color-on-surface);
background-color: var(--sys-color-surface);
}
alwatr-icon-button {
width: calc(6 * var(--sys-spacing-track));
height: calc(6 * var(--sys-spacing-track));
}
`;

override render(): unknown {
Expand Down
4 changes: 1 addition & 3 deletions ui/ui-kit/src/chat/chat-text-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ export class AlwatrChatTextInput extends LocalizeMixin(SignalMixin(AlwatrBaseEle
}
alwatr-icon-button {
width: var(--_height);
height: var(--_height);
--_surface-color-on: var(--sys-color-tertiary-hsl);
}
Expand Down Expand Up @@ -69,7 +67,7 @@ export class AlwatrChatTextInput extends LocalizeMixin(SignalMixin(AlwatrBaseEle
return html`
<textarea rows="1" placeholder=${message('chat_text_input_placeholder')} @input=${this.__inputChange}></textarea>
<alwatr-icon-button
.content=${<IconButtonContent>{icon: 'send-outline', flipRtl: true}}
.content=${<IconButtonContent>{icon: 'send-outline', flipRtl: true, signalId: 'send-message'}}
disabled
></alwatr-icon-button>
`;
Expand Down

0 comments on commit 8353fbc

Please sign in to comment.