From 3450a0285e865141e7e3dfe8a43109a1aecc8bee Mon Sep 17 00:00:00 2001 From: manhtai Date: Mon, 26 Jul 2021 22:34:10 +0700 Subject: [PATCH 1/4] Make focus keep the same layout --- src/App.global.css | 4 ++-- src/components/Main.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.global.css b/src/App.global.css index 3bafa40..74e0fe2 100644 --- a/src/App.global.css +++ b/src/App.global.css @@ -8,10 +8,10 @@ } input { - @apply rounded focus:ring-blue-500 focus:outline-none focus:ring-2; + @apply rounded focus:ring-blue-500 focus:outline-none focus:ring-2 focus:ring-inset; } textarea { - @apply rounded focus:ring-blue-500 focus:outline-none focus:ring-2; + @apply rounded focus:ring-blue-500 focus:outline-none focus:ring-2 focus:ring-inset; } } diff --git a/src/components/Main.tsx b/src/components/Main.tsx index b1856e9..ca37cb0 100644 --- a/src/components/Main.tsx +++ b/src/components/Main.tsx @@ -101,7 +101,7 @@ const Main = () => { {/* Left sidebar */}