Skip to content

Commit

Permalink
chore: style voice button slightly different
Browse files Browse the repository at this point in the history
  • Loading branch information
shibbas authored and anfibiacreativa committed Nov 9, 2023
1 parent 4528eb5 commit fb0bb3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/chat-component/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ export class ChatComponent extends LitElement {
title="${this.enableVoiceListening
? globalConfig.CHAT_VOICE_REC_BUTTON_LABEL_TEXT
: globalConfig.CHAT_VOICE_BUTTON_LABEL_TEXT}"
class="chatbox__button no-shadow ${this.enableVoiceListening ? 'recording' : 'not-recording'}"
class="chatbox__button voice__input ${this.enableVoiceListening ? 'recording' : 'not-recording'}"
?disabled="${!this.showVoiceInput}"
@click="${this.handleVoiceInput}"
>
Expand Down
6 changes: 5 additions & 1 deletion packages/chat-component/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,12 @@ export const mainStyle = css`
width: 20px;
cursor: pointer;
}
.no-shadow {
.voice__input {
box-shadow: none;
background: transparent;
border: none;
cursor: pointer;
width: 50px;
}
.chatbox__input-container {
display: flex;
Expand Down

0 comments on commit fb0bb3c

Please sign in to comment.