Skip to content

Commit fb0bb3c

Browse files
shibbasanfibiacreativa
authored andcommitted
chore: style voice button slightly different
1 parent 4528eb5 commit fb0bb3c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages/chat-component/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ export class ChatComponent extends LitElement {
668668
title="${this.enableVoiceListening
669669
? globalConfig.CHAT_VOICE_REC_BUTTON_LABEL_TEXT
670670
: globalConfig.CHAT_VOICE_BUTTON_LABEL_TEXT}"
671-
class="chatbox__button no-shadow ${this.enableVoiceListening ? 'recording' : 'not-recording'}"
671+
class="chatbox__button voice__input ${this.enableVoiceListening ? 'recording' : 'not-recording'}"
672672
?disabled="${!this.showVoiceInput}"
673673
@click="${this.handleVoiceInput}"
674674
>

packages/chat-component/src/style.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,12 @@ export const mainStyle = css`
367367
width: 20px;
368368
cursor: pointer;
369369
}
370-
.no-shadow {
370+
.voice__input {
371371
box-shadow: none;
372+
background: transparent;
373+
border: none;
374+
cursor: pointer;
375+
width: 50px;
372376
}
373377
.chatbox__input-container {
374378
display: flex;

0 commit comments

Comments
 (0)