Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ describe("MissionCreationResult", () => {
expect(await screen.findAllByText("약 5,000원 절약 예상")).toHaveLength(5);
});

it("여러 줄 제목을 왼쪽 정렬한다", async () => {
render(<MissionCreationResult jobId="job-1" />);

expect(await screen.findByText("이번 주 배달음식 2회 이하로 주문")).toHaveClass(
"w-full",
"text-left",
);
});

it("미션 선택 개수를 4개로 제한하지 않는다", async () => {
render(<MissionCreationResult jobId="job-1" />);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function MissionDraftCard({
variant="onboarding"
onPressedChange={onPressedChange}
>
<span className="text-body-b1-700 text-gray-900">{title}</span>
<span className="w-full text-left text-body-b1-700 text-gray-900">{title}</span>
<span className="flex items-start gap-2 text-left text-body-b2-400 text-gray-700">
<span className="shrink-0 rounded bg-gray-50 px-1.5 py-1 text-caption-c1-700 text-gray-600">
달성 시
Expand Down
Loading