mirror of https://github.com/vector-im/riot-web
Wrap status message (#7325)
* Wrap status message Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Give status a max-height Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
13028d33c2
commit
e759a85321
|
@ -204,11 +204,19 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_UserInfo_statusMessage {
|
||||
$statusLineHeight: 16px;
|
||||
$statusNumberOfLines: 3;
|
||||
|
||||
font-size: $font-11px;
|
||||
line-height: $statusLineHeight;
|
||||
opacity: 0.5;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: clip;
|
||||
word-break: break-word;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
max-height: calc($statusLineHeight * $statusNumberOfLines);
|
||||
-webkit-line-clamp: $statusNumberOfLines;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.mx_AutoHideScrollbar {
|
||||
|
|
Loading…
Reference in New Issue