Skip to content

Commit 11f3a9a

Browse files
committed
feat: implement responsive for segment rule
1 parent 129e6e7 commit 11f3a9a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ui/dashboard/src/pages/create-update-segment/page-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const PageContent = ({
1212
isDisabled: boolean;
1313
}) => {
1414
return (
15-
<PageLayout.Content className="p-6 min-w-[900px]">
15+
<PageLayout.Content className="p-4 sm:p-6">
1616
<SegmentForm
1717
isUpdate={isUpdate}
1818
userSegment={userSegment}

ui/dashboard/src/pages/create-update-segment/segment-form/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ const SegmentForm = ({
307307
</div>
308308

309309
{isUpdate && userSegment && (
310-
<div className="flex items-center justify-between gap-x-4 w-full rounded border-l-4 p-4 border-accent-blue-500 bg-accent-blue-50">
310+
<div className="flex flex-wrap items-center justify-between gap-4 w-full rounded border-l-4 p-4 border-accent-blue-500 bg-accent-blue-50">
311311
<div className="flex items-center gap-x-2">
312312
<Icon
313313
icon={IconInfoFilled}
@@ -381,7 +381,7 @@ const SegmentForm = ({
381381
</label>
382382
</div>
383383
{userIdsType === 'upload' && !isDisabled && (
384-
<div className="flex w-full max-w-full h-fit gap-x-4 pl-8">
384+
<div className="flex w-full max-w-full h-fit gap-x-4 pl-4 sm:pl-8">
385385
<Upload
386386
files={files}
387387
className="border-l border-primary-500 pl-4"

0 commit comments

Comments
 (0)