Skip to content

Commit

Permalink
use sx instead of class name to get custom style applied
Browse files Browse the repository at this point in the history
  • Loading branch information
rushtong committed Nov 9, 2023
1 parent aaca791 commit cf041db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
7 changes: 6 additions & 1 deletion src/pages/researcher_console/DatasetSubmissionsTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ export default function DatasetSubmissionsTable(props) {
<div>
<Button
href={editLink}
className={styles['action-button']}>
sx={{
fontSize: '1.25rem',
border: '1px solid #0948B7',
borderRadius: 1,
height: 25
}}>
Edit
</Button>
</div>;
Expand Down
9 changes: 0 additions & 9 deletions src/pages/researcher_console/DatasetTerms.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,3 @@
display: flex;
justify-content: flex-end;
}

.action-button {
font-size: 14px;
border: 1px solid #0948B7;
border-radius: 4px;
height: 25px;
cursor: pointer;
color: #0948B7;
}

0 comments on commit cf041db

Please sign in to comment.