Skip to content

Commit a9c544d

Browse files
authored
fix: add style to button and remove unused css (sveltejs#383)
1 parent dea7abb commit a9c544d

File tree

1 file changed

+8
-1
lines changed
  • content/tutorial/03-sveltekit/06-forms/04-progressive-enhancement/app-b/src/routes

1 file changed

+8
-1
lines changed

content/tutorial/03-sveltekit/06-forms/04-progressive-enhancement/app-b/src/routes/+page.svelte

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@
5656
flex: 1;
5757
}
5858
59-
.saving {
59+
button {
60+
border: none;
61+
background: url(./remove.svg) no-repeat 50% 50%;
62+
background-size: 1rem 1rem;
63+
cursor: pointer;
64+
height: 100%;
65+
aspect-ratio: 1;
6066
opacity: 0.5;
67+
transition: opacity 0.2s;
6168
}
6269
</style>

0 commit comments

Comments
 (0)