Skip to content
Snippets Groups Projects
Commit aaeaf0cb authored by Sreeram, Sudarshan's avatar Sreeram, Sudarshan :carrot:
Browse files

Remove text from section header buttons

parent cb2f477e
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ import { ...@@ -22,6 +22,7 @@ import {
faDownload, faDownload,
faCheckSquare faCheckSquare
} from "@fortawesome/free-solid-svg-icons"; } from "@fortawesome/free-solid-svg-icons";
import { faSquare } from "@fortawesome/free-regular-svg-icons";
const ModuleResources: React.FC = () => { const ModuleResources: React.FC = () => {
return ( return (
...@@ -44,23 +45,10 @@ const ModuleResources: React.FC = () => { ...@@ -44,23 +45,10 @@ const ModuleResources: React.FC = () => {
<span className={styles.sectionHeader}>Quick Access</span> <span className={styles.sectionHeader}>Quick Access</span>
<div className={styles.sectionHeaderButtonGroup}> <div className={styles.sectionHeaderButtonGroup}>
<Button className={styles.sectionHeaderButton}> <Button className={styles.sectionHeaderButton}>
Download
<FontAwesomeIcon className={styles.buttonIcon} icon={faDownload} /> <FontAwesomeIcon className={styles.buttonIcon} icon={faDownload} />
</Button> </Button>
<Button className={styles.sectionHeaderButton}> <Button className={styles.sectionHeaderButton}>
<span <FontAwesomeIcon className={styles.buttonIcon} icon={faSquare} />
style={{
display: "flex",
justifyContent: "space-between",
alignItems: "center"
}}
>
Select All
<Form.Check
className={styles.buttonCheckbox}
aria-label="option 1"
/>
</span>
</Button> </Button>
</div> </div>
</div> </div>
...@@ -117,23 +105,10 @@ const ModuleResources: React.FC = () => { ...@@ -117,23 +105,10 @@ const ModuleResources: React.FC = () => {
<span className={styles.sectionHeader}>Folders</span> <span className={styles.sectionHeader}>Folders</span>
<div className={styles.sectionHeaderButtonGroup}> <div className={styles.sectionHeaderButtonGroup}>
<Button className={styles.sectionHeaderButton}> <Button className={styles.sectionHeaderButton}>
Download
<FontAwesomeIcon className={styles.buttonIcon} icon={faDownload} /> <FontAwesomeIcon className={styles.buttonIcon} icon={faDownload} />
</Button> </Button>
<Button className={styles.sectionHeaderButton}> <Button className={styles.sectionHeaderButton}>
<span <FontAwesomeIcon className={styles.buttonIcon} icon={faCheckSquare} />
style={{
display: "flex",
justifyContent: "space-between",
alignItems: "center"
}}
>
Select All
<Form.Check
className={styles.buttonCheckbox}
aria-label="option 1"
/>
</span>
</Button> </Button>
</div> </div>
</div> </div>
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
} }
.sectionHeaderButton { .sectionHeaderButton {
background: $gray-100; background: $white;
color: #000; color: #000;
border-width: 0px; border-width: 0px;
border-radius: 8px; border-radius: 8px;
...@@ -84,11 +84,10 @@ ...@@ -84,11 +84,10 @@
-webkit-transition: 0.2s background; -webkit-transition: 0.2s background;
-moz-transition: 0.2s background; -moz-transition: 0.2s background;
font-size: 1.05rem; font-size: 1.05rem;
width: 180px; width: 40px;
} }
.buttonIcon { .buttonIcon {
float: right;
margin-top: 0.22rem; margin-top: 0.22rem;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment