Skip to content

Commit

Permalink
Merge pull request #3810 from ProjectMirador/mui5-spacing
Browse files Browse the repository at this point in the history
[MUI5] Give the workspace add resource button a little spacing
  • Loading branch information
jcoyne authored Nov 21, 2023
2 parents 92998c0 + 2a4d1d1 commit c307773
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/WorkspaceAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ export class WorkspaceAdd extends Component {
<Fab
variant="extended"
disabled={addResourcesOpen}
sx={{
bottom: 2,
sx={(theme) => ({
bottom: theme.spacing(2),
position: 'absolute',
right: 2,
}}
right: theme.spacing(2),
})}
className={classNames(ns('add-resource-button'))}
color="primary"
onClick={() => (this.setAddResourcesVisibility(true))}
Expand Down

0 comments on commit c307773

Please sign in to comment.