Skip to content

Commit d8c5a84

Browse files
authored
ui-fixes-1 (#11409)
* make top drop area larger for better drop ux * style: set InfoMessage text opacity to 60%
1 parent 3a661b1 commit d8c5a84

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

apps/desktop/src/components/BranchInsertion.svelte

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,19 @@
6565
<Dropzone handlers={[moveBranchHandler]}>
6666
{#snippet overlay({ hovered, activated })}
6767
{#if activated}
68-
<div data-testid="BranchListInsertionDropzone" class="stack-v p-b-10 dropzone-target">
68+
<div data-testid="BranchListInsertionDropzone" class="dropzone-target top-dropzone">
6969
<BranchLineOverlay {hovered} />
7070
</div>
7171
{/if}
7272
{/snippet}
7373
</Dropzone>
7474
{/if}
75+
76+
<style>
77+
.top-dropzone {
78+
display: flex;
79+
flex-direction: column;
80+
margin-top: -12px;
81+
padding: 12px 0;
82+
}
83+
</style>

packages/ui/src/lib/components/InfoMessage.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
gap: 6px;
196196
}
197197
.info-message__text {
198+
opacity: 60%;
198199
&:empty {
199200
display: none;
200201
}

0 commit comments

Comments
 (0)