fix: catalog size

This commit is contained in:
jialin
2026-01-12 12:24:34 +08:00
parent 05ad296b43
commit fc76822bdf
13 changed files with 413 additions and 35 deletions
-7
View File
@@ -1,7 +0,0 @@
.cardWrapper {
border-radius: var(--border-radius-small);
background-color: var(--ant-color-bg-container);
box-shadow: none;
padding: 10px 16px;
border: 1px solid var(--ant-color-border);
}
+10 -6
View File
@@ -1,12 +1,16 @@
import styles from './index.less';
import styled from 'styled-components';
const Wrapper = styled.div`
border-radius: var(--border-radius-small);
background-color: var(--ant-color-bg-container);
box-shadow: none;
padding: 10px 16px;
border: 1px solid var(--ant-color-border);
`;
const CardWrapper = (props: any) => {
const { children, style } = props;
return (
<div className={styles.cardWrapper} style={{ ...style }}>
{children}
</div>
);
return <Wrapper style={{ ...style }}>{children}</Wrapper>;
};
export default CardWrapper;