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 fab5bee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 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,8 +69,9 @@
}}
/>
{:else}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class="text-xl font-medium"
class="font-medium"
on:dblclick={() => {
log("Renaming project")
renaming = true
Expand Down

0 comments on commit fab5bee

Please sign in to comment.