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

Commit

Permalink
Compute with of content of pinned event tile (#12951)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Sep 4, 2024
1 parent 60fe70b commit ab1e28b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion res/css/views/rooms/_PinnedEventTile.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ limitations under the License.
display: flex;
flex-direction: column;
gap: var(--cpd-space-1x);
width: 100%;
/* 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);

.mx_PinnedEventTile_top {
display: flex;
Expand Down

0 comments on commit ab1e28b

Please sign in to comment.