Skip to content

Commit

Permalink
MM-61127: Fix text overflow in channels input for SC (mattermost#28952)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebroseland authored Oct 28, 2024
1 parent dd51962 commit 133bd5c
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ const ChannelError = (props: {id: string; err: ServerError}) => {
};

const ChannelLabelWrapper = styled.span`
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
svg {
vertical-align: middle;
margin-left: 6px;
Expand Down Expand Up @@ -281,7 +285,12 @@ const ChannelIcon = ({channel, size = 16, ...otherProps}: {channel: Channel} & I

const SecondaryTextRight = styled.span`
color: rgba(var(--center-channel-color-rgb), 0.64);
margin-left: 5px;
padding-left: 5px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
&:last-child {
margin-left: auto;
}
Expand Down

0 comments on commit 133bd5c

Please sign in to comment.