Fix title alignment when switching to editing

There was a slight jump of the title when clicking the edit title
button, this fixes it.
This commit is contained in:
Rūdolfs Ošiņš
2024-12-09 10:57:10 +01:00
parent 6206e55b96
commit 6bbaaa3115
+3 -2
View File
@@ -342,6 +342,7 @@
gap: 1rem;
margin-left: 1rem;
align-items: center;
height: 40px;
}
.metadata-divider {
@@ -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}