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

dbkr/sss
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
1 changed files with 3 additions and 1 deletions

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;