feat: responsive settings ui

This commit is contained in:
鲁树人
2023-06-10 00:45:41 +01:00
parent 1c3b6c45c6
commit 3e203b92ac
6 changed files with 294 additions and 171 deletions

View File

@@ -17,6 +17,13 @@ const variantLineInvert = definePartsStyle((props) => {
[borderProp]: '2px solid',
borderColor: 'inherit',
},
tabpanels: {
flex: 1,
minH: 0,
},
tabpanel: {
padding: 0,
},
tab: {
[borderProp]: '2px solid',
borderColor: 'transparent',
@@ -42,7 +49,10 @@ const variantLineInvert = definePartsStyle((props) => {
bg: $bg.reference,
},
root: {
display: 'flex',
flexDir: isVertical ? 'row' : 'column',
gap: 8,
minH: 0,
},
};
});