2021-06-23 19:34:57 +00:00
|
|
|
/*
|
2024-09-09 13:57:16 +00:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-06-23 19:34:57 +00:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 13:57:16 +00:00
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
2021-06-23 19:34:57 +00:00
|
|
|
*/
|
|
|
|
|
2022-07-27 13:39:29 +00:00
|
|
|
/* A "media body" is any file upload looking thing, apart from images and videos (they */
|
|
|
|
/* have unique styles). */
|
2021-06-23 19:34:57 +00:00
|
|
|
|
|
|
|
.mx_MediaBody {
|
2023-07-17 09:59:10 +00:00
|
|
|
background-color: $panels;
|
2021-06-23 19:34:57 +00:00
|
|
|
border-radius: 12px;
|
2022-07-27 13:39:29 +00:00
|
|
|
max-width: 243px; /* use max-width instead of width so it fits within right panels */
|
2021-06-23 19:34:57 +00:00
|
|
|
|
2021-08-25 09:46:48 +00:00
|
|
|
color: $secondary-content;
|
2023-06-29 10:30:25 +00:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2021-06-23 19:34:57 +00:00
|
|
|
line-height: $font-24px;
|
|
|
|
|
2021-07-21 20:47:02 +00:00
|
|
|
padding: 6px 12px;
|
|
|
|
}
|