Skip to content

Commit 00ee6d7

Browse files
committed
design: 대시보드 헤더 수정, 나의대시보드리스트 수정
1 parent 6240201 commit 00ee6d7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/dashboard/CreateDashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const CreateDashboard = () => {
1010
return (
1111
<>
1212
<div
13-
className="w-65 md:w-62 lg:w-83 h-15 flex gap-3 items-center justify-center border rounded-lg border-gray-300 bg-white cursor-pointer hover:bg-gray-300"
13+
className="w-full md:w-62 lg:w-83 h-15 flex gap-3 items-center justify-center border rounded-lg border-gray-300 bg-white cursor-pointer hover:bg-gray-300"
1414
onClick={() => modalRef.current?.open()}
1515
>
1616
<span>새로운 대시보드</span>

src/components/dashboard/MyDashboardCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const MyDashboardCard = ({ dashboard }: MyDashboardCardProps) => {
1515

1616
return (
1717
<div
18-
className="w-65 md:w-62 lg:w-83 h-15 flex justify-between items-center py-4 px-5 border border-gray-300 rounded-lg cursor-pointer bg-white hover:bg-gray-300"
18+
className="w-full md:w-62 lg:w-83 h-15 flex justify-between items-center py-4 px-5 border border-gray-300 rounded-lg cursor-pointer bg-white hover:bg-gray-300"
1919
onClick={() => handleDashboardClick(dashboard.id)}
2020
>
2121
<div className="flex items-center gap-2">

src/components/dashboard/header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Header = () => {
1919
};
2020
return (
2121
<div className="w-full flex items-center justify-between md:justify-end lg:justify-between px-2 md:px-8 lg:px-10 py-4 border-b border-b-gray-200">
22-
<div className="text-lg hidden md:block truncate text-[#333236] font-bold">
22+
<div className="text-lg block md:hidden lg:block truncate text-[#333236] font-bold">
2323
{getPageTitle()}
2424
</div>
2525
<div className="flex items-center md:divide-x divide-gray-300">

0 commit comments

Comments
 (0)