MM-61127: Fix text overflow in channels input for SC (#28952)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
dd519629be
Коммит
133bd5c2cb
@@ -234,6 +234,10 @@ const ChannelError = (props: {id: string; err: ServerError}) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ChannelLabelWrapper = styled.span`
|
const ChannelLabelWrapper = styled.span`
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
@@ -281,7 +285,12 @@ const ChannelIcon = ({channel, size = 16, ...otherProps}: {channel: Channel} & I
|
|||||||
|
|
||||||
const SecondaryTextRight = styled.span`
|
const SecondaryTextRight = styled.span`
|
||||||
color: rgba(var(--center-channel-color-rgb), 0.64);
|
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 {
|
&:last-child {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user