Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
Stabilize sidebar scrollbar
Abi Raja2c3128cd903f
diff --git a/frontend/src/App.tsx b/frontend/src/App.tsxindex 9af6b0a3..5602c4da 100644--- a/frontend/src/App.tsx+++ b/frontend/src/App.tsx@@ -383,7 +383,7 @@ function App() {/>)}<div className="lg:fixed lg:inset-y-0 lg:z-40 lg:flex lg:w-96 lg:flex-col">- <div className="flex grow flex-col gap-y-2 overflow-y-auto border-r border-gray-200 bg-white px-6 dark:bg-zinc-950 dark:text-white">+ <div className="sidebar-scrollbar-stable flex grow flex-col gap-y-2 overflow-y-auto border-r border-gray-200 bg-white px-6 dark:bg-zinc-950 dark:text-white">{/* Header with access to settings */}<div className="flex items-center justify-between mt-10 mb-2"><h1 className="text-2xl ">Screenshot to Code</h1>diff --git a/frontend/src/index.css b/frontend/src/index.cssindex 9d965f3d..c730e0af 100644--- a/frontend/src/index.css+++ b/frontend/src/index.css@@ -105,6 +105,10 @@}}+.sidebar-scrollbar-stable {+ scrollbar-gutter: stable;+}+@layer base {* {@apply border-border;