You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Pinned message list: prevent sender name to overflow pinned event tile (#12947)
* Prevent sender name to overflow pinned event tile * Add tooltip to display the sender name
This commit is contained in:
@ -26,6 +26,8 @@ limitations under the License.
|
||||
/* Remove avatar width and space between the avatar and the wrapper */
|
||||
/* We need it to make the location fit */
|
||||
width: calc(100% - var(--cpd-space-4x) - 32px);
|
||||
/* Prevent a long sender name to overflow the tile */
|
||||
overflow: hidden;
|
||||
|
||||
.mx_PinnedEventTile_top {
|
||||
display: flex;
|
||||
@ -37,6 +39,7 @@ limitations under the License.
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
font: var(--cpd-font-body-md-semibold);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user