From 97d978c267f2819714cf2df4999dba56bdde31d5 Mon Sep 17 00:00:00 2001
From: Ellie Huxtable <ellie@atuin.sh>
Date: Tue, 16 Jul 2024 11:32:14 +0100
Subject: fix(gui): terminal resize overflow (#2285)

---
 ui/src/App.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'ui/src/App.tsx')

diff --git a/ui/src/App.tsx b/ui/src/App.tsx
index 2f804b1b..27c57207 100644
--- a/ui/src/App.tsx
+++ b/ui/src/App.tsx
@@ -130,8 +130,11 @@ function App() {
   ];
 
   return (
-    <div className="flex h-dvh w-full select-none">
-      <div className="relative flex h-full flex-col !border-r-small border-divider transition-width pb-6 pt-9 min-w-[4.5rem] items-center">
+    <div
+      className="flex h-dvh w-screen select-none"
+      style={{ maxWidth: "100vw" }}
+    >
+      <div className="relative flex h-full flex-col !border-r-small border-divider transition-width pb-6 pt-9 items-center">
         <div className="flex items-center gap-0 px-3 justify-center">
           <div className="flex h-8 w-8">
             <img src={icon} alt="icon" className="h-8 w-8" />
-- 
cgit v1.3.1

