File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
client/packages/lowcoder/src
pages/ComponentDoc/examples/MediaComp Expand file tree Collapse file tree 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<{
4141 ${ ( props ) =>
4242 props . $style &&
4343 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' } ;
4747 margin: ${ props . $style . margin } ;
4848 border: ${ props . $style . borderWidth } solid ${ props . $style . border } ;
4949 border-radius: ${ props . $style . radius } ;
Original file line number Diff line number Diff line change @@ -10,9 +10,12 @@ export default function IconExample() {
1010 >
1111 < Example
1212 title = "Icon"
13+ width = { '80px' }
14+ height = { '80px' }
1315 config = { {
1416 icon : "/icon:solid/align-justify" ,
1517 iconSize : "20" ,
18+ autoHeight : false ,
1619 } }
1720 compFactory = { IconComp }
1821 />
You can’t perform that action at this time.
0 commit comments