* Use shared MessageTimestampView in edit history * Move timestamp typography into shared component * Updated snapshots * Update comments after clean up * Fixed sonar issue and added tests for improved coverage * Fix Prettier issue * Fix font-size on timestamps and toolbar button sizing * Updated snapshots * Updated Storybook screenshots * Updated screenshots * Clean up app/web unused/redundant styling for disambiguated profile * Fix merge error * Fixes after merge * Fixes after merge
32 lines
931 B
Plaintext
32 lines
931 B
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2021 Šimon Brandner <simon.bra.ag@gmail.com>
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
Please see LICENSE files in the repository root for full details.
|
|
*/
|
|
|
|
/** Disambiguated profile needs to have a different layout in the member tile */
|
|
.mx_MemberTileView .mx_DisambiguatedProfile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.mx_DisambiguatedProfile_mxid {
|
|
margin-inline-start: 0;
|
|
font: var(--cpd-font-body-sm-regular);
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
span:not(.mx_DisambiguatedProfile_mxid) {
|
|
/**
|
|
In a member tile, this span element is a flex child and so
|
|
we need the following for text overflow to work.
|
|
**/
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|