Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: consolidate workspace buttons/kira pilot #2996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clean up snapshots
  • Loading branch information
Kira-Pilot committed Jul 14, 2022
commit 045401d5cd335ef87f1dab8c14ec1a8d7654c85f
5 changes: 3 additions & 2 deletions site/src/components/WorkspaceActions/WorkspaceActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const WorkspaceActions: FC<WorkspaceActionsProps> = ({
}

return (
<div className={styles.buttonContainer}>
<span className={styles.buttonContainer}>
{/* primary workspace CTA */}
<span data-testid="primary-cta">{buttonMapping[actions.primary]}</span>

Expand Down Expand Up @@ -120,14 +120,15 @@ export const WorkspaceActions: FC<WorkspaceActionsProps> = ({
))}
</span>
</Popover>
</div>
</span>
)
}

const useStyles = makeStyles((theme) => ({
buttonContainer: {
border: `1px solid ${theme.palette.divider}`,
borderRadius: `${theme.shape.borderRadius}px`,
display: "inline-block",
},
dropdownButton: {
border: "none",
Expand Down