fix stuttering issue with website

This commit is contained in:
Leo Wen
2025-02-06 10:59:08 -08:00
parent 5fa75df07d
commit 0544123f0c
2 changed files with 4 additions and 2 deletions
BIN
View File
Binary file not shown.
+4 -2
View File
@@ -68,7 +68,7 @@ function Admin() {
}, [wholeDatabase]);
return (
<div className="flex flex-col items-center justify-center min-h-screen p-4">
<div className="flex flex-col items-center justify-center w-full min-h-screen p-4">
<div className="text-black mb-4 w-full flex">
<input
type="text"
@@ -100,7 +100,8 @@ function Admin() {
Push Changes
</button>
</div>
<div className="w-full flex-1 overflow-auto">
<div className="flex flex-1 w-full h-full overflow-hidden">
<div className=" w-full h-full ">
<DataSheetGrid
className="w-full h-full"
value={wholeDatabase}
@@ -108,6 +109,7 @@ function Admin() {
onChange={setWholeDatabase}
/>
</div>
</div>
</div>
);
}