Skip to content

Commit

Permalink
refactor: buttons styling in plugins drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
devcatalin committed Jan 25, 2022
1 parent 8e1819b commit 86b47ea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export const ButtonsContainer = styled.div`
padding: 16px;
margin-top: 8px;
display: flex;
justify-content: space-between;
justify-content: flex-end;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,27 @@ function PluginManagerDrawer() {
>
<PluginInstallModal isVisible={isInstallModalVisible} onClose={onCloseInstallPlugin} />
<S.ButtonsContainer>
<Button onClick={onClickInstallPlugin} type="primary" ghost size="small" icon={<PlusOutlined />}>
Install plugin
</Button>
<Tooltip title={PluginManagerDrawerReloadTooltip} placement="bottom">
<Button
disabled={sortedPluginEntries.length === 0}
onClick={onClickReload}
type="primary"
ghost
type="link"
size="small"
icon={<ReloadOutlined />}
>
Update plugins
Update
</Button>
</Tooltip>
<Button
onClick={onClickInstallPlugin}
type="primary"
ghost
size="small"
icon={<PlusOutlined />}
style={{marginLeft: 8}}
>
Install
</Button>
</S.ButtonsContainer>
<S.Container>
{sortedPluginEntries.length === 0 ? (
Expand Down

0 comments on commit 86b47ea

Please sign in to comment.