mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-26 03:31:56 +01:00
* Move CSS for ResetIdentityPanel into EncryptionCard This allows it to be re-used in other components. It's a *bit* magic that EncryptionCard applies style to divs within it, although it somewhat makes sense that it wants them styled a particular way. The alternative would be to add another component for a div child of encryption card like EncryptionCardButtons that just makes it flexbox and centered: I'm not sure which is better. * Update snapshot * Update snapshot * Do it the other way Because we only want it in the destructive cards, not the other ones. * Use flex component * Also use gap prop and update snapshots * Fix justification * Snaspshots again * Set align-items to normal As center affected the list items too. Also add it to the flex component because it didn't have it as an option.
14 lines
337 B
Plaintext
14 lines
337 B
Plaintext
/*
|
|
* Copyright 2024 New Vector Ltd.
|
|
*
|
|
* 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_EncryptionCard_emphasisedContent {
|
|
span {
|
|
font: var(--cpd-font-body-md-medium);
|
|
text-align: center;
|
|
}
|
|
}
|