2021-06-23 22:34:57 +03:00
|
|
|
/*
|
2024-09-09 16:57:16 +03:00
|
|
|
Copyright 2024 New Vector Ltd.
|
2021-06-23 22:34:57 +03:00
|
|
|
Copyright 2021 The Matrix.org Foundation C.I.C.
|
|
|
|
|
2024-09-09 16:57:16 +03: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 22:34:57 +03:00
|
|
|
*/
|
|
|
|
|
2022-07-27 16:39:29 +03:00
|
|
|
/* A "media body" is any file upload looking thing, apart from images and videos (they */
|
|
|
|
/* have unique styles). */
|
2021-06-23 22:34:57 +03:00
|
|
|
|
|
|
|
.mx_MediaBody {
|
2023-07-17 12:59:10 +03:00
|
|
|
background-color: $panels;
|
2021-06-23 22:34:57 +03:00
|
|
|
border-radius: 12px;
|
2022-07-27 16:39:29 +03:00
|
|
|
max-width: 243px; /* use max-width instead of width so it fits within right panels */
|
2021-06-23 22:34:57 +03:00
|
|
|
|
2021-08-25 12:46:48 +03:00
|
|
|
color: $secondary-content;
|
2023-06-29 13:30:25 +03:00
|
|
|
font: var(--cpd-font-body-md-regular);
|
2021-06-23 22:34:57 +03:00
|
|
|
line-height: $font-24px;
|
|
|
|
|
2021-07-21 23:47:02 +03:00
|
|
|
padding: 6px 12px;
|
|
|
|
}
|