Skip to content

Commit 309f069

Browse files
committed
Remove text truncation from Notice component
1 parent 93068bb commit 309f069

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎packages/ui/src/components/editor/settings/Notice/Notice.module.scss‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@
4343

4444
> span:first-child {
4545
align-self: flex-start;
46-
}
47-
48-
.content {
49-
flex: 1;
50-
overflow: hidden;
51-
text-overflow: ellipsis;
52-
white-space: nowrap;
46+
padding-top: 1px;
5347
}
5448
}

‎packages/ui/src/components/editor/settings/Notice/Notice.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const Notice: React.FC<Props> = (props) => {
2727
props.type == 'info' ? 'codicon-info' : 'codicon-warning'
2828
)}
2929
/>
30-
<span className={styles.content}>{props.children}</span>
30+
<span>{props.children}</span>
3131
</div>
3232
{props.slot_right && <div>{props.slot_right}</div>}
3333
</div>

0 commit comments

Comments
 (0)