Skip to content

Commit

Permalink
fix(website): made github button transition work
Browse files Browse the repository at this point in the history
Ring transitions in Tailwind seem to need `transition-all` rather than `transition-colors`.
  • Loading branch information
arctic-hen7 committed Jan 1, 2022
1 parent 2cd001c commit efcf16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/templates/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn index_page() -> View<G> {
) { (t!("index-get-started")) }
a(
// The difference in y-axis padding is deliberate, it looks better with the ring
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",
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",
href = "https://github.com/arctic-hen7/perseus"
) {
span(
Expand Down

0 comments on commit efcf16f

Please sign in to comment.