File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import Icon from '../Icon/Icon';
11
11
import { IconNameType } from '../Icon/types' ;
12
12
import theme , { Theme } from '../../theme' ;
13
13
import { AlertIcon } from './AlertIcon' ;
14
- import { deviceWidth } from '../../utils/dimentions' ;
15
14
16
15
type AlertProps = React . ComponentProps < typeof Box > & {
17
16
variant ?: VariantProps < Theme , 'alertVariants' > [ 'variant' ] ;
@@ -51,7 +50,7 @@ const Alert = ({
51
50
52
51
return (
53
52
< AlertContainer variant = { variant } { ...rest } >
54
- < Box p = "m" flexDirection = "row" width = { deviceWidth - theme . spacing [ '2xl' ] } >
53
+ < Box p = "m" flexDirection = "row" >
55
54
< Box pr = "2xs" >
56
55
< AlertIcon variant = { variant } icon = { icon } />
57
56
</ Box >
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ exports[`Alert should render alert correctly 1`] = `
24
24
{
25
25
" flexDirection" : " row" ,
26
26
" padding" : 16 ,
27
- " width" : 718 ,
28
27
},
29
28
]
30
29
}
You can’t perform that action at this time.
0 commit comments