summaryrefslogtreecommitdiffhomepage
path: root/src/features/tabs/ui.test.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-28 19:14:26 +0900
committerAdam Malczewski <[email protected]>2026-06-28 19:14:26 +0900
commit364f99eab6aa3d5641b6f8c645aae550b30cba27 (patch)
tree88e92d624c812903ece840ef884d5379495b2078 /src/features/tabs/ui.test.ts
parent3e7e9abb510cb6bc88bf865e2f421de85ccab76d (diff)
downloaddispatch-web-364f99eab6aa3d5641b6f8c645aae550b30cba27.tar.gz
dispatch-web-364f99eab6aa3d5641b6f8c645aae550b30cba27.zip
fix(tabs): fixed height 60vh with scrollbar on overflow
Diffstat (limited to 'src/features/tabs/ui.test.ts')
-rw-r--r--src/features/tabs/ui.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/tabs/ui.test.ts b/src/features/tabs/ui.test.ts
index 0dc5e15..b12ca1a 100644
--- a/src/features/tabs/ui.test.ts
+++ b/src/features/tabs/ui.test.ts
@@ -183,7 +183,7 @@ describe("TabList", () => {
expect(region).toHaveClass("flex-col");
});
- it("caps the tab list region at 80vh so a long set scrolls internally", () => {
+ it("fixes the tab list region at 60vh so a long set scrolls internally", () => {
render(TabList, {
props: {
tabs: sampleTabs,
@@ -196,7 +196,7 @@ describe("TabList", () => {
const tabs = screen.getAllByRole("tab");
const region = tabs[0]?.parentElement;
- expect(region).toHaveClass("max-h-[80vh]");
+ expect(region).toHaveClass("h-[60vh]");
expect(region).toHaveClass("overflow-y-auto");
});