Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ab1e28b

Browse files
authored
Compute with of content of pinned event tile (#12951)
1 parent 60fe70b commit ab1e28b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

res/css/views/rooms/_PinnedEventTile.pcss

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ limitations under the License.
2323
display: flex;
2424
flex-direction: column;
2525
gap: var(--cpd-space-1x);
26-
width: 100%;
26+
/* Remove avatar width and space between the avatar and the wrapper */
27+
/* We need it to make the location fit */
28+
width: calc(100% - var(--cpd-space-4x) - 32px);
2729

2830
.mx_PinnedEventTile_top {
2931
display: flex;

0 commit comments

Comments
 (0)