Skip to content

Commit 65a9ca9

Browse files
authored
fix: scrolling problem in desktop responsive mode
2 parents bb0f77f + c15df03 commit 65a9ca9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build_dashboard.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
#! /bin/bash
2+
13
cd "$(dirname "$0")/dashboard"
24
VITE_BASE_API=/ bun run build
35
cp ./build/index.html ./build/404.html
4-

dashboard/src/pages/_dashboard.bulk.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const BulkPage = () => {
6868
<PageHeader {...getPageHeaderProps()} />
6969
</PageTransition>
7070
<div className="w-full">
71-
<div className="scrollbar-hide flex overflow-x-auto border-b px-4">
71+
<div className="scrollbar-hide flex lg:flex-wrap overflow-x-auto border-b px-4">
7272
{tabs.map(tab => (
7373
<button
7474
key={tab.id}

dashboard/src/pages/_dashboard.settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export default function Settings() {
210210
<div className="relative w-full">
211211
<div className="flex border-b">
212212
<div className="w-full">
213-
<div className="scrollbar-hide flex overflow-x-auto border-b px-4">
213+
<div className="scrollbar-hide flex lg:flex-wrap overflow-x-auto border-b px-4">
214214
{tabs.map(tab => {
215215
const isActive = activeTab === tab.id
216216
return (

0 commit comments

Comments
 (0)