We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 690258b + 734a8f5 commit 994c71eCopy full SHA for 994c71e
src/components/codecast/codecastlive/CodecastSidebar.css
@@ -120,7 +120,6 @@
120
.participant-main .name {
121
font-weight: 500;
122
text-overflow: ellipsis;
123
- overflow: hidden;
124
white-space: nowrap;
125
}
126
src/components/codecast/codecastlive/CodecastSidebar.jsx
@@ -123,8 +123,10 @@ export default function CodecastSidebar({
)}
<div className="participant-main">
- <span className="name">
127
- {displayName}
+ <span className="name" title={displayName}>
+ {displayName.length > 4
128
+ ? displayName.slice(0, 4) + '…'
129
+ : displayName}
130
{isSelf && <span className="self-badge">나</span>}
131
</span>
132
<span className={`stage ${stage}`}>{stageLabel}</span>
0 commit comments