Skip to content

Commit 80be1c2

Browse files
author
Ritika Mishra
committed
updated ui
1 parent 77f876e commit 80be1c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/serial-plotter/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,10 @@ const SerialPlotter = () => {
360360
{viewMode !== "plotter" && (
361361
<div
362362
ref={rawDataRef}
363-
className={`w-full border rounded-xl shadow-lg bg-[#1a1a2e] text-white overflow-auto flex flex-col flex-grow ${viewMode === "both" ? "min-h-[30vh]" : "min-h-[35vh]"}`}
363+
className={`w-full border rounded-xl shadow-lg bg-[#1a1a2e] text-white overflow-auto flex flex-col`}
364+
style={{ height: "35vh", maxHeight: "35vh", minHeight: "35vh" }} // Set fixed height
364365
>
366+
365367
{/* Title Bar with Input and Buttons */}
366368
<div className="sticky top-0 flex items-center justify-between bg-[#1a1a2e] p-2 z-10">
367369
{/* Input Box (Full Width) */}

0 commit comments

Comments
 (0)