File tree 2 files changed +6
-3
lines changed
client/packages/lowcoder/src
pages/ComponentDoc/examples/MediaComp 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ const Container = styled.div<{
41
41
${ ( props ) =>
42
42
props . $style &&
43
43
css `
44
- height : calc (100% - ${ props . $style . margin } );
45
- width: calc(100% - ${ props . $style . margin } );
46
- padding: ${ props . $style . padding } ;
44
+ height : calc (100% - ${ props . $style . margin ?? '0px' } );
45
+ width: calc(100% - ${ props . $style . margin ?? '0px' } );
46
+ padding: ${ props . $style . padding ?? '0px' } ;
47
47
margin: ${ props . $style . margin } ;
48
48
border: ${ props . $style . borderWidth } solid ${ props . $style . border } ;
49
49
border-radius: ${ props . $style . radius } ;
Original file line number Diff line number Diff line change @@ -10,9 +10,12 @@ export default function IconExample() {
10
10
>
11
11
< Example
12
12
title = "Icon"
13
+ width = { '80px' }
14
+ height = { '80px' }
13
15
config = { {
14
16
icon : "/icon:solid/align-justify" ,
15
17
iconSize : "20" ,
18
+ autoHeight : false ,
16
19
} }
17
20
compFactory = { IconComp }
18
21
/>
You can’t perform that action at this time.
0 commit comments