www: fix counter example zooming when double clicked on mobile devices (#277)

This commit is contained in:
Tommy Dew
2022-06-23 09:35:04 +00:00
committed by GitHub
parent 14e169831e
commit 76d5423b90
+3
View File
@@ -5,6 +5,9 @@ import { tw } from "../utils/twind.ts";
export function RoundedButton(props: h.JSX.HTMLAttributes<HTMLButtonElement>) {
return (
<button
style={{
touchAction: "manipulation",
}}
{...props}
class={tw
`p-3 border border-transparent rounded-full text-white bg-green(500 hover:600) focus:(outline-none ring(2 offset-2 green-500)) disabled:(bg-green-200 cursor-default)`}