From 7d490e0de1552f95b3bb7c3a5c0c51edd5390d65 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Thu, 13 Oct 2022 16:23:20 -0700 Subject: [PATCH] Expand image on hover --- web/components/editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/editor.tsx b/web/components/editor.tsx index 814f0090..0c3b4eec 100644 --- a/web/components/editor.tsx +++ b/web/components/editor.tsx @@ -52,7 +52,7 @@ import { debounce } from 'lodash' const DisplayImage = Image.configure({ HTMLAttributes: { - class: 'max-h-60', + class: 'max-h-60 hover:max-h-[120rem] transition-all', }, })