Skip to content

Commit

Permalink
Fix title alignment when switching to editing
Browse files Browse the repository at this point in the history
There was a slight jump of the title when clicking the edit title
button, this fixes it.
  • Loading branch information
rudolfs committed Dec 9, 2024
1 parent 6206e55 commit 6bbaaa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/views/repo/Issue.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
gap: 1rem;
margin-left: 1rem;
align-items: center;
height: 40px;
}
.metadata-divider {
Expand Down Expand Up @@ -405,9 +406,9 @@
{/snippet}

<div class="content">
<div style:margin-bottom="1rem" style:margin-top="-4px">
<div style:margin-bottom="1rem" style:margin-top="-6px">
{#if editingTitle}
<div class="global-flex">
<div class="title">
<TextInput
valid={updatedTitle.trim().length > 0}
bind:value={updatedTitle}
Expand Down

0 comments on commit 6bbaaa3

Please sign in to comment.