Files
ThreadNet-Web/apps/web/res/css/structures/_ViewSource.pcss
T
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

45 lines
1.0 KiB
Plaintext

/*
Copyright 2024 New Vector Ltd.
Copyright 2015, 2016 OpenMarket 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_ViewSource {
pre {
font-size: $font-12px;
padding: 0.5em 1em;
word-wrap: break-word;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.mx_ViewSource_header {
border-bottom: 1px solid $quinary-content;
padding-bottom: var(--cpd-space-3x);
margin-bottom: var(--cpd-space-3x);
font-family: monospace;
.mx_CopyableText {
word-break: break-all;
}
}
.mx_ViewSource_heading {
font-size: $font-17px;
font-weight: 400;
color: $primary-content;
margin-top: var(--cpd-space-3x);
}
.mx_ViewSource_details {
margin-top: var(--cpd-space-3x);
}
.mx_CopyableText_border {
box-sizing: border-box;
width: 100%;
}
}