Skip to content

Commit efcf16f

Browse files
committed
fix(website): made github button transition work
Ring transitions in Tailwind seem to need `transition-all` rather than `transition-colors`.
1 parent 2cd001c commit efcf16f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/templates/index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub fn index_page() -> View<G> {
2727
) { (t!("index-get-started")) }
2828
a(
2929
// The difference in y-axis padding is deliberate, it looks better with the ring
30-
class = "inline-flex items-center py-2 px-4 m-2 font-semibold rounded-lg shadow-2xl dark:text-white ring-4 ring-indigo-500 hover:ring-indigo-400 transition-colors duration-200",
30+
class = "inline-flex items-center py-2 px-4 m-2 font-semibold rounded-lg shadow-2xl dark:text-white ring-4 ring-indigo-500 hover:ring-indigo-400 transition-all duration-200",
3131
href = "https://github.com/arctic-hen7/perseus"
3232
) {
3333
span(

0 commit comments

Comments
 (0)