Files
Michael TelatynskiandGitHub 49a2bdd7e4 Replace legacy $spacing-X vars with Compound Design Tokens (#34380)
* Replace legacy `$spacing-X` vars with Compound Design Tokens

* Remove unused font size vars

* Use calc to get negative spacing vars
2026-07-22 10:10:57 +00:00

49 lines
1.3 KiB
Plaintext

/*
Copyright 2024 New Vector Ltd.
Copyright 2019, 2020 , 2024 The Matrix.org Foundation C.I.C.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
.mx_RoomProfileSettings {
border-bottom: 1px solid $quinary-content;
.mx_RoomProfileSettings_profile {
display: flex;
.mx_RoomProfileSettings_profile_controls {
flex-grow: 1;
margin-inline-end: 54px;
.mx_Field {
margin-top: var(--cpd-space-2x);
}
.mx_RoomProfileSettings_profile_controls_topic {
margin-top: var(--cpd-space-2x);
& > textarea {
font-family: inherit;
resize: vertical;
}
&.mx_RoomProfileSettings_profile_controls_topic--room textarea {
min-height: 4em;
}
}
.mx_RoomProfileSettings_profile_controls_userId {
margin-inline-end: var(--cpd-space-5x);
}
}
}
.mx_RoomProfileSettings_buttons {
display: flex;
gap: var(--cpd-space-4x);
margin-top: 10px; /* 18px is already accounted for by the <p> above the buttons */
margin-bottom: var(--cpd-space-7x);
}
}