Skip to content
Snippets Groups Projects
Commit 144bc608 authored by danieldeng2's avatar danieldeng2
Browse files

Better scaling on small screens for resources

parent 55716b79
No related branches found
No related tags found
No related merge requests found
......@@ -28,14 +28,14 @@ const ModuleResources: React.FC = () => {
</InputGroup.Text>
</InputGroup.Prepend>
<FormControl aria-label="Search" placeholder="search" />
<FormControl aria-label="Search" placeholder="Search" />
</InputGroup>
<h5 className={classNames(styles.moduleSectionHeader)}>Quick Access</h5>
<Row>
{[...Array(4)].map((e, i) => (
<Col md={3} key={i}>
<Col xs={6} sm={6} md={3} key={i}>
<Card style={{ marginTop: "1rem" }}>
<Card.Img variant="top" src="holder.js/100px100" />
<Card.Body>
......@@ -49,7 +49,7 @@ const ModuleResources: React.FC = () => {
<h5 className={classNames(styles.moduleSectionHeader)}>Folders</h5>
<Row>
{[...Array(10)].map((e, i) => (
<Col md={3} key={i}>
<Col xs={6} sm={6} md={3} key={i}>
<Card style={{ marginTop: ".6rem" }}>
<Card.Body style={{ padding: ".6rem" }}>
<Card.Text>Folder{i}</Card.Text>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment