Fix z-index of AvatarPopup and limit max width
This commit is contained in:
parent
353becffac
commit
965c635905
2 changed files with 10 additions and 1 deletions
|
@ -9568,6 +9568,7 @@ button.module-image__border-overlay:focus {
|
||||||
|
|
||||||
.module-avatar-popup {
|
.module-avatar-popup {
|
||||||
min-width: 240px;
|
min-width: 240px;
|
||||||
|
max-width: $left-pane-width;
|
||||||
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
|
@ -9596,6 +9597,7 @@ button.module-image__border-overlay:focus {
|
||||||
|
|
||||||
.module-avatar-popup__profile__text {
|
.module-avatar-popup__profile__text {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.module-avatar-popup__profile__name {
|
.module-avatar-popup__profile__name {
|
||||||
|
@ -9612,6 +9614,13 @@ button.module-image__border-overlay:focus {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.module-avatar-popup__profile__name,
|
||||||
|
.module-avatar-popup__profile__number {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
.module-avatar-popup__divider {
|
.module-avatar-popup__divider {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
@ -388,7 +388,7 @@ export class MainHeader extends React.Component<PropsType, StateType> {
|
||||||
<AvatarPopup
|
<AvatarPopup
|
||||||
innerRef={ref}
|
innerRef={ref}
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
style={style}
|
style={{ ...style, zIndex: 1 }}
|
||||||
color={color}
|
color={color}
|
||||||
conversationType="direct"
|
conversationType="direct"
|
||||||
name={name}
|
name={name}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue