fix: messages - ellipsis for header's name
This commit is contained in:
parent
0f31d94fa0
commit
ec428e56ae
@ -1,7 +1,42 @@
|
||||
.chat-view {
|
||||
height: calc(100vh - 50px - 78px);
|
||||
#messages {
|
||||
|
||||
.chat-view {
|
||||
height: calc(100vh - 50px - 78px);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: calc(100vh - 50px - 68px);
|
||||
|
||||
height: calc(100vh - 50px - 58px);
|
||||
|
||||
.messages-header {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
solid-set-default[name="segment2"] {
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
orbit-user-avatar {
|
||||
height: 31px;
|
||||
width: 31px;
|
||||
}
|
||||
|
||||
solid-display-value[name="name"] {
|
||||
display: block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 210px;
|
||||
}
|
||||
|
||||
solid-display-value[name="hyphen"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
solid-link {
|
||||
vertical-align: super;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
div.segment.full.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large.sm-padding-xsmall.border-bottom.border-color-grey.whitespace-normal.bg-color-white
|
||||
div.segment.full.padding-top-small.padding-right-large.padding-bottom-small.padding-left-large.sm-padding-xxsmall.border-bottom.border-color-grey.whitespace-normal.bg-color-white.message-header
|
||||
solid-display.labelled-avatar.small(
|
||||
bind-resources
|
||||
fields='segment1(account.picture), segment2(name, hyphen, at, username)'
|
||||
|
Loading…
Reference in New Issue
Block a user