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 {
|
.notification {
|
||||||
flex: 0 0;
|
flex: 0 0;
|
||||||
padding: $padding;
|
padding: $padding * 1.5;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
max-width: 35vw;
|
max-width: 35vw;
|
||||||
|
|||||||
@ -34,14 +34,14 @@ function UpdateAvailableHandler(event: IpcRendererEvent, ...[backchannel, update
|
|||||||
|
|
||||||
Notifications.info(
|
Notifications.info(
|
||||||
(
|
(
|
||||||
<>
|
<div className="flex column gaps">
|
||||||
<b>Update Available</b>
|
<b>Update Available</b>
|
||||||
<p>Version {updateInfo.version} of Lens IDE is now available. Would you like to update?</p>
|
<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">
|
<div className="flex gaps row align-left box grow">
|
||||||
<RenderYesButtons backchannel={backchannel} notificationId={notificationId} />
|
<RenderYesButtons backchannel={backchannel} notificationId={notificationId} />
|
||||||
<Button active outlined label="No" onClick={() => sendToBackchannel(backchannel, notificationId, { doUpdate: false })} />
|
<Button active outlined label="No" onClick={() => sendToBackchannel(backchannel, notificationId, { doUpdate: false })} />
|
||||||
</div>
|
</div>
|
||||||
</>
|
</div>
|
||||||
), {
|
), {
|
||||||
id: notificationId,
|
id: notificationId,
|
||||||
onClose() {
|
onClose() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user