Skip to content

Commit

Permalink
Fix the layout shift and the svelte warning
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Zervas <[email protected]>
  • Loading branch information
dzervas committed May 26, 2024
1 parent e7567cc commit f8c0b8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/web/src/routes/(CADmium)/AppBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<div class="select-none">CADmium</div>
{#if renaming}
<input
class="bg-gray-300 text-gray-700 py-2 px-4 text-xl font-medium"
class="bg-gray-300 text-gray-700 py-2 px-4 font-medium"
type="text"
bind:value={newProjectName}
on:blur={() => {
Expand All @@ -69,6 +69,7 @@
}}
/>
{:else}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class="text-xl font-medium"
on:dblclick={() => {
Expand Down

0 comments on commit f8c0b8a

Please sign in to comment.