File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- import clsx from 'clsx' ;
21import React from 'react' ;
32
43import { useComponentContext } from '../../context' ;
@@ -21,9 +20,5 @@ export const UploadProgressIndicator = ({
2120 return < LoadingIndicator data-testid = 'loading-indicator' /> ;
2221 }
2322
24- return (
25- < div className = { clsx ( 'str-chat__attachment-upload-progress' ) } >
26- < ProgressIndicator percent = { uploadProgress } />
27- </ div >
28- ) ;
23+ return < ProgressIndicator percent = { uploadProgress } /> ;
2924} ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const CircularProgressIndicator = ({ percent }: ProgressIndicatorProps) =
1616 const dashOffset = RING_CIRCUMFERENCE * ( 1 - percent / 100 ) ;
1717
1818 return (
19- < div className = 'str-chat__circular-progress-indicator' >
19+ < div className = 'str-chat__circular-progress-indicator str-chat__progress-indicator ' >
2020 < svg
2121 aria-label = { t ( 'aria/Percent complete' , { percent } ) }
2222 aria-valuemax = { 100 }
Original file line number Diff line number Diff line change 211211 }
212212
213213 .str-chat__loading-indicator ,
214- .str-chat__attachment-upload-progress {
214+ .str-chat__progress-indicator {
215215 width : var (--icon-size-sm );
216216 height : var (--icon-size-sm );
217217 position : absolute ;
284284 line-height : var (--typography-line-height-tight );
285285
286286 .str-chat__loading-indicator ,
287- .str-chat__attachment-upload-progress {
287+ .str-chat__progress-indicator {
288288 width : var (--icon-size-sm );
289289 height : var (--icon-size-sm );
290290 color : var (--accent-primary );
You can’t perform that action at this time.
0 commit comments