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 authored and av8ta committed May 26, 2024
1 parent 0e9c864 commit 9097d2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ Github project for tracking progress is [here](https://github.com/orgs/CADmium-C
- [ ] Extrusion
- [ ] Configure an extrusion to create new solid or subtract from existing solid
- [ ] Project
- [x] Ability to rename the project
- [ ] Ability to delete steps
- [ ] bind ctrl + s to .cadmium export, and ctrl + o to .cadmium import
- [ ] Units
Expand Down
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 9097d2f

Please sign in to comment.