File tree Expand file tree Collapse file tree 3 files changed +15
-19
lines changed
Expand file tree Collapse file tree 3 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ const VoiceRecordingPlayerUI = ({ audioPlayer }: VoiceRecordingPlayerUIProps) =>
4343
4444 return (
4545 < div className = { rootClassName } data-testid = 'voice-recording-widget' >
46- < PlayButton isPlaying = { ! ! isPlaying } onClick = { audioPlayer . togglePlay } />
46+ < div className = 'str-chat__message-attachment__voice-recording-widget__play-button-container' >
47+ < PlayButton isPlaying = { ! ! isPlaying } onClick = { audioPlayer . togglePlay } />
48+ </ div >
4749 < div className = 'str-chat__message-attachment__voice-recording-widget__metadata' >
4850 < div className = 'str-chat__message-attachment__voice-recording-widget__audio-state' >
4951 < div className = 'str-chat__message-attachment__voice-recording-widget__timer' >
Original file line number Diff line number Diff line change 416416 display : flex ;
417417 align-items : center ;
418418 justify-content : center ;
419- padding : var (--spacing-xs );
419+ padding-block : var (--spacing-xs );
420+ padding-inline-start : var (--spacing-xs );
421+ padding-inline-end : var (--spacing-sm );
420422 min-height : 60px ;
421423
424+ .str-chat__message-attachment__voice-recording-widget__play-button-container {
425+ padding : var (--spacing-xxs );
426+ }
427+
422428 .str-chat__message-attachment__voice-recording-widget__metadata {
423429 min-width : 180px ;
424430 padding-inline : var (--spacing-xs );
478484
479485.str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-no-text {
480486 .str-chat__message-bubble {
481- padding : 0 ;
482- background-color : transparent ;
483487 border : 1px solid var (--chat-border-incoming );
484488 box-shadow : var (--background-core-elevation-0 );
485489 }
486490
487491 .str-chat__message-attachment {
488492 background-color : var (--chat-bg-incoming );
493+
494+ .str-chat__message-attachment__voice-recording-widget {
495+ padding : unset ;
496+ padding-inline-end : var (--spacing-xxs );
497+ }
489498 }
490499}
491500
Original file line number Diff line number Diff line change 167167}
168168
169169.str-chat__message.str-chat__message--has-single-attachment {
170- & .str-chat__message--has-no-text {
171- .str-chat__message-bubble {
172- padding : 0 ;
173- }
174- }
175170 & .str-chat__message--has-giphy-attachment {
176171 .str-chat__message-bubble {
177172 padding : 0 ;
183178 }
184179}
185180
186- .str-chat__message.str-chat__message--has-single-attachment.str-chat__message--has-giphy-attachment {
187- .str-chat__message-bubble {
188- padding : 0 ;
189- }
190-
191- .str-chat__message-text {
192- display : none ;
193- }
194- }
195-
196181.str-chat__message-mention {
197182 color : var (--str-chat__message-mention-color );
198183 font : var (--str-chat__body2-medium-text );
You can’t perform that action at this time.
0 commit comments