Updae theme and fix some bug (#1711)

This commit is contained in:
Archer
2024-06-07 12:54:30 +08:00
committed by GitHub
parent 19c8a06d51
commit b20d075d35
153 changed files with 1587 additions and 1436 deletions

View File

@@ -18,19 +18,19 @@ const Tabs = ({ list, size = 'md', activeId, onChange, ...props }: Props) => {
switch (size) {
case 'sm':
return {
fontSize: 'sm',
fontSize: 'xs',
outP: '3px',
inlineP: 1
};
case 'md':
return {
fontSize: ['sm', 'md'],
fontSize: 'sm',
outP: '4px',
inlineP: 1
};
case 'lg':
return {
fontSize: ['md', 'lg'],
fontSize: ['sm', 'md'],
outP: '5px',
inlineP: 2
};