mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Adding paddings to auto-update notification elements (#2163)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
3f2d912816
commit
d3cedb49aa
@ -15,7 +15,7 @@
|
||||
|
||||
.notification {
|
||||
flex: 0 0;
|
||||
padding: $padding;
|
||||
padding: $padding * 1.5;
|
||||
border-radius: 3px;
|
||||
min-width: 350px;
|
||||
max-width: 35vw;
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user