This commit is contained in:
parent
3a626f8189
commit
c7300a0630
2 changed files with 16 additions and 0 deletions
9
src/components/MassTable/MassGrid.tsx
Normal file
9
src/components/MassTable/MassGrid.tsx
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import styles from './massgrid.module.scss'
|
||||
|
||||
type MassGridProps = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
export const MassGrid = ({ children }: MassGridProps) => {
|
||||
return <div className={styles.grid}>{children}</div>
|
||||
}
|
||||
7
src/components/MassTable/massgrid.module.scss
Normal file
7
src/components/MassTable/massgrid.module.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 200px);
|
||||
justify-content: center;
|
||||
column-gap: 30px;
|
||||
row-gap: 15px;
|
||||
}
|
||||
Loading…
Reference in a new issue