Skip to content

Commit

Permalink
Removed CSS defining fixed width from Save button
Browse files Browse the repository at this point in the history
  • Loading branch information
goldjee committed Jul 24, 2024
1 parent 3de2b7c commit 2405766
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ const SaveDatasetActionButton = ({
DropdownButton as FC<DropdownButtonProps>,
)`
&.ant-dropdown-button button.ant-btn.ant-btn-default {
&:first-of-type {
width: ${theme.gridUnit * 16}px;
}
font-weight: ${theme.gridUnit * 150};
background-color: ${theme.colors.primary.light4};
color: ${theme.colors.primary.dark1};
Expand All @@ -58,11 +55,7 @@ const SaveDatasetActionButton = ({
`;

return !overlayMenu ? (
<Button
onClick={() => setShowSave(true)}
buttonStyle="primary"
css={{ width: theme.gridUnit * 25 }}
>
<Button onClick={() => setShowSave(true)} buttonStyle="primary">
{t('Save')}
</Button>
) : (
Expand Down

0 comments on commit 2405766

Please sign in to comment.