Compute with of content of pinned event tile (#12951)

This commit is contained in:
Florian Duros 2024-09-04 11:07:53 +02:00 committed by GitHub
parent 60fe70b3cc
commit ab1e28bfea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,9 @@ limitations under the License.
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: var(--cpd-space-1x); 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 { .mx_PinnedEventTile_top {
display: flex; display: flex;