1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-31 13:44:28 +03:00

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

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;