Skip to content

Commit 5b3524f

Browse files
committed
better wordwrap on RightPanels
1 parent 65f14c7 commit 5b3524f

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/FilePanel.css‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ limitations under the License.
4747

4848
/* Overrides for the attachment body tiles */
4949

50+
.mx_FilePanel .mx_EventTile {
51+
word-break: break-word;
52+
}
53+
5054
.mx_FilePanel .mx_EventTile .mx_MImageBody {
5155
margin-right: 0px;
5256
}
@@ -60,7 +64,6 @@ limitations under the License.
6064
.mx_FilePanel .mx_EventTile .mx_MImageBody_downloadLink {
6165
flex: 1 1 auto;
6266
color: #747474;
63-
word-wrap: break-word;
6467
}
6568

6669
.mx_FilePanel .mx_EventTile .mx_MImageBody_size {
@@ -88,7 +91,6 @@ limitations under the License.
8891
font-size: 11px;
8992
opacity: 1.0;
9093
color: #acacac;
91-
word-wrap: break-word;
9294
}
9395

9496
.mx_FilePanel .mx_EventTile .mx_MessageTimestamp {

‎src/skins/vector/css/matrix-react-sdk/structures/NotificationPanel.css‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ limitations under the License.
4141
we should make EventTile a base CSS class and customise it specifically
4242
for usage in {Message,File,Notification}Panel. */
4343

44+
.mx_NotificationPanel .mx_EventTile {
45+
word-break: break-word;
46+
}
47+
4448
.mx_NotificationPanel .mx_EventTile_roomName {
4549
font-weight: bold;
4650
font-size: 14px;
47-
word-wrap: break-word;
4851
}
4952

5053
.mx_NotificationPanel .mx_EventTile_roomName a {
@@ -63,7 +66,6 @@ limitations under the License.
6366
font-size: 12px;
6467
display: inline;
6568
padding-left: 0px;
66-
word-wrap: break-word;
6769
}
6870

6971
.mx_NotificationPanel .mx_EventTile_senderDetails {

0 commit comments

Comments
 (0)