mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-27 08:39:59 +08:00
style: add padding to component placeholder box
This commit is contained in:
parent
8a68726348
commit
791ed09c2c
@ -103,7 +103,9 @@ export const StructureTree: React.FC<Props> = props => {
|
||||
</AutoComplete>
|
||||
</VStack>
|
||||
<Box width="full" flex={1} minHeight={0} overflowY="auto" overflowX="hidden">
|
||||
{componentEles.length > 0 ? componentEles : <Placeholder services={services} />}
|
||||
{componentEles.length > 0 ? componentEles : (<Box padding="4">
|
||||
<Placeholder services={services} />
|
||||
</Box>)}
|
||||
</Box>
|
||||
</VStack>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user