Skip to content

Commit

Permalink
style: 제목이 길어지면 overflow되지 않는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonun321 committed Nov 29, 2024
1 parent d6e0494 commit 5b90fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ export const pageTitleContainer = css({
gap: "8px",
flexDirection: "row",
alignItems: "center",
overflow: "hidden",
});

export const pageTitle = css({
textStyle: "display-medium24",
display: "flex",
alignItems: "center",
paddingTop: "3px",
color: "gray.500",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const PageTitle = ({ title, icon }: PageTitleProps) => {
const { icon: IconComponent, color } = iconComponents[icon];
return (
<div className={pageTitleContainer}>
<IconComponent color={color} size="24px" />
<IconComponent color={color} size="24px" style={{ flexShrink: 0 }} />
<p className={pageTitle}>{title || "Title"}</p>
</div>
);
Expand Down

0 comments on commit 5b90fc7

Please sign in to comment.