From f659be446dc4c848ef11d16c23c32dd9f080e145 Mon Sep 17 00:00:00 2001 From: Vladyslav Matsiiako Date: Wed, 30 Nov 2022 21:21:50 -0500 Subject: [PATCH] Fixed the UI bug with overflowing dots (#30) --- .../dashboard/DashboardInputField.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/components/dashboard/DashboardInputField.js b/frontend/components/dashboard/DashboardInputField.js index 45657c696..898e69489 100644 --- a/frontend/components/dashboard/DashboardInputField.js +++ b/frontend/components/dashboard/DashboardInputField.js @@ -84,7 +84,7 @@ const DashboardInputField = ({ blurred ? "text-bunker-800 group-hover:text-gray-400 peer-focus:text-gray-400 peer-active:text-gray-400" : "" - } flex flex-row whitespace-pre font-mono absolute z-0 ph-no-capture max-w-2xl overflow-x-scroll bg-bunker-800 h-9 rounded-md text-gray-400 text-md px-2 py-1.5 w-full min-w-16 outline-none focus:ring-2 focus:ring-primary/50 duration-100`} + } absolute flex flex-row whitespace-pre font-mono z-0 ph-no-capture max-w-2xl overflow-x-scroll bg-bunker-800 h-9 rounded-md text-gray-400 text-md px-2 py-1.5 w-full min-w-16 outline-none focus:ring-2 focus:ring-primary/50 duration-100`} > { value @@ -115,18 +115,18 @@ const DashboardInputField = ({ } {blurred && ( -
-

- {value - .split("") - .slice(0, 42) - .map(() => ( - - ))} +
+
+ {value + .split("") + .map(() => ( + + ))} +
)}