Skip to content

Commit

Permalink
style:Change DateDialog Style
Browse files Browse the repository at this point in the history
  • Loading branch information
eunbeann committed Aug 26, 2024
1 parent 4de3786 commit 847af0b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import { useState } from 'react';
import { recruitScheduleStageList } from '../../constant';

interface DueDateDialogProps {
onDuedateAppend: () => void;
title?: string;
onDuedateAppend: () => void;
}

export function DueDateDialog({ title }: DueDateDialogProps) {
Expand All @@ -33,10 +33,8 @@ export function DueDateDialog({ title }: DueDateDialogProps) {
return (
<div className="p-20">
<div className="flex items-center w-314">
<Icon name="folderFill" size={16} color={color.neutral95} />
{title && <Icon name="folderFill" size={16} color={color.neutral95} />}
<Spacing size={4} direction="row" />
<span className="text-body1 font-semibold overflow-hidden text-ellipsis line-clamp-1">{title}</span>
<span className="text-body1">의 공고 일정 등록하기</span>
<span
className={cn('text-body1 font-semibold overflow-hidden text-ellipsis line-clamp-1', title ? 'flex-1' : '')}>
{title ? `${title}의 공고 일정 등록하기` : '공고 일정 등록하기'}
Expand Down

0 comments on commit 847af0b

Please sign in to comment.