File tree 2 files changed +30
-22
lines changed
2 files changed +30
-22
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,23 @@ export const EmptyState: FC<EmptyStateProps> = ({
25
25
} ) => {
26
26
return (
27
27
< div
28
- css = { {
29
- overflow : "hidden" ,
30
- display : "flex" ,
31
- flexDirection : "column" ,
32
- justifyContent : "center" ,
33
- alignItems : "center" ,
34
- textAlign : "center" ,
35
- minHeight : isCompact ? 180 : 360 ,
36
- padding : isCompact ? "10px 40px" : "80px 40px" ,
37
- position : "relative" ,
38
- } }
28
+ css = { [
29
+ {
30
+ overflow : "hidden" ,
31
+ display : "flex" ,
32
+ flexDirection : "column" ,
33
+ justifyContent : "center" ,
34
+ alignItems : "center" ,
35
+ textAlign : "center" ,
36
+ minHeight : 360 ,
37
+ padding : "80px 40px" ,
38
+ position : "relative" ,
39
+ } ,
40
+ isCompact && {
41
+ minHeight : 180 ,
42
+ padding : "10px 40px" ,
43
+ } ,
44
+ ] }
39
45
{ ...attrs }
40
46
>
41
47
< h5 css = { { fontSize : 24 , fontWeight : 500 , margin : 0 } } > { message } </ h5 >
Original file line number Diff line number Diff line change @@ -15,17 +15,19 @@ export const StatusIndicator: FC<StatusIndicatorProps> = ({
15
15
16
16
return (
17
17
< div
18
- css = { {
19
- height : 8 ,
20
- width : 8 ,
21
- borderRadius : 4 ,
22
- backgroundColor :
23
- variant === "solid" ? theme . roles [ color ] . fill . solid : undefined ,
24
- border :
25
- variant === "outlined"
26
- ? `1px solid ${ theme . roles [ color ] . outline } `
27
- : undefined ,
28
- } }
18
+ css = { [
19
+ {
20
+ height : 8 ,
21
+ width : 8 ,
22
+ borderRadius : 4 ,
23
+ } ,
24
+ variant === "solid" && {
25
+ backgroundColor : theme . roles [ color ] . fill . solid ,
26
+ } ,
27
+ variant === "outlined" && {
28
+ border : `1px solid ${ theme . roles [ color ] . outline } ` ,
29
+ } ,
30
+ ] }
29
31
/>
30
32
) ;
31
33
} ;
You can’t perform that action at this time.
0 commit comments