Adding paddings to auto-update notification elements (#2163)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-02-16 16:49:27 +02:00
1 parent 3f2d912816
commit d3cedb49aa
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -34,14 +34,14 @@ function UpdateAvailableHandler(event: IpcRendererEvent, ...[backchannel, update
Notifications.info(
(
<>
<div className="flex column gaps">
<b>Update Available</b>
<p>Version {updateInfo.version} of Lens IDE is now available. Would you like to update?</p>
<div className="flex gaps row align-left box grow">
<RenderYesButtons backchannel={backchannel} notificationId={notificationId} />
<Button active outlined label="No" onClick={() => sendToBackchannel(backchannel, notificationId, { doUpdate: false })} />
</div>
</>
</div>
), {
id: notificationId,
onClose() {