mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
"unnaply and drop changes" update copy, update modals UI and layout (#5092)
* update copy, update modals UI and layout * Update BranchLaneContextMenu.svelte
This commit is contained in:
parent
7c178734ce
commit
56d0fe44c8
@ -180,7 +180,6 @@
|
||||
|
||||
<Modal
|
||||
width="small"
|
||||
title="Delete branch"
|
||||
bind:this={deleteBranchModal}
|
||||
onSubmit={async (close) => {
|
||||
try {
|
||||
@ -193,10 +192,12 @@
|
||||
}}
|
||||
>
|
||||
{#snippet children(branch)}
|
||||
Are you sure you want to delete <code class="code-string">{branch.name}</code>?
|
||||
All changes will be lost for <strong>{branch.name}</strong>. Are you sure you want to continue?
|
||||
{/snippet}
|
||||
{#snippet controls(close)}
|
||||
<Button style="ghost" outline onclick={close}>Cancel</Button>
|
||||
<Button style="error" kind="solid" type="submit" loading={isDeleting}>Delete</Button>
|
||||
<Button style="error" kind="solid" type="submit" loading={isDeleting}
|
||||
>Unapply and drop changes</Button
|
||||
>
|
||||
{/snippet}
|
||||
</Modal>
|
||||
|
@ -148,7 +148,6 @@
|
||||
|
||||
<Modal
|
||||
width="small"
|
||||
title="Delete branch"
|
||||
bind:this={deleteBranchModal}
|
||||
onSubmit={async (close) => {
|
||||
try {
|
||||
|
@ -122,6 +122,7 @@
|
||||
<Button
|
||||
bind:el={meatballButtonEl}
|
||||
style="ghost"
|
||||
size="tag"
|
||||
icon="kebab"
|
||||
onclick={() => {
|
||||
contextMenu?.toggle();
|
||||
@ -150,7 +151,6 @@
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.header.card {
|
||||
border-bottom-right-radius: 0px;
|
||||
border-bottom-left-radius: 0px;
|
||||
@ -205,7 +205,7 @@
|
||||
.header__info-wrapper {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
padding: 10px;
|
||||
padding: 12px;
|
||||
}
|
||||
.header__info {
|
||||
flex: 1;
|
||||
@ -218,7 +218,7 @@
|
||||
.button-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.draggable {
|
||||
|
Loading…
Reference in New Issue
Block a user