fix(pluginview): align icon and plugin name (#185)

This commit is contained in:
Lukas Senionis
2022-09-27 07:51:39 +03:00
committed by GitHub
parent 4e04455163
commit bbad6bf2be
+2 -2
View File
@@ -32,8 +32,8 @@ const PluginView: VFC = () => {
.map(({ name, icon }) => ( .map(({ name, icon }) => (
<PanelSectionRow key={name}> <PanelSectionRow key={name}>
<ButtonItem layout="below" onClick={() => setActivePlugin(name)}> <ButtonItem layout="below" onClick={() => setActivePlugin(name)}>
<div style={{ display: 'flex', justifyContent: 'space-between' }}> <div style={{ display: 'flex', alignItems: "center", justifyContent: 'space-between' }}>
<div>{icon}</div> {icon}
<div>{name}</div> <div>{name}</div>
<NotificationBadge show={updates?.has(name)} style={{ top: '-5px', right: '-5px' }} /> <NotificationBadge show={updates?.has(name)} style={{ top: '-5px', right: '-5px' }} />
</div> </div>