Skip to content

Commit 75b264a

Browse files
authored
Merge pull request depromeet#647 from depromeet/bugfix/646
fix: 스페이스의 회고 템플릿 영역에 긴 문자열이 들어오면 너비가 깨지는 현상 수정
2 parents 33146eb + 1eec3ce commit 75b264a

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

apps/web/src/app/desktop/component/analysis/AnalysisOverview/AnalysisOverviewHeader.tsx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,25 @@ export default function AnalysisOverviewHeader() {
133133
background-color: ${DESIGN_TOKEN_COLOR.white};
134134
flex: 1;
135135
cursor: pointer;
136+
137+
svg {
138+
flex-shrink: 0;
139+
}
136140
`}
137141
onClick={handleMoveToListTemplate}
138142
>
139143
<Icon icon={"ic_document_color"} size={2.0} color={DESIGN_TOKEN_COLOR.gray00} />
140-
<Typography variant="body14SemiBold" color="gray600">
144+
<Typography
145+
variant="body14SemiBold"
146+
color="gray600"
147+
css={css`
148+
display: -webkit-box;
149+
-webkit-box-orient: vertical;
150+
-webkit-line-clamp: 1;
151+
overflow: hidden;
152+
`}
153+
title={formTag ?? ""}
154+
>
141155
{formTag}
142156
</Typography>
143157
<Icon icon={"ic_chevron_down"} size={1.4} color={DESIGN_TOKEN_COLOR.gray600} />

0 commit comments

Comments
 (0)