mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-23 08:38:57 +08:00
491f0cd08a
* Copyright headers 1 * Licence headers 2 * Copyright Headers 3 * Copyright Headers 4 * Copyright Headers 5 * Copyright Headers 6 * Copyright headers 7 * Add copyright headers for html and config file * Replace license files and update package.json * Update with CLA * lint
45 lines
967 B
Plaintext
45 lines
967 B
Plaintext
/*
|
|
Copyright 2024 New Vector Ltd.
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only
|
|
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: $spacing-12;
|
|
margin-bottom: $spacing-12;
|
|
font-family: monospace;
|
|
|
|
.mx_CopyableText {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
.mx_ViewSource_heading {
|
|
font-size: $font-17px;
|
|
font-weight: 400;
|
|
color: $primary-content;
|
|
margin-top: $spacing-12;
|
|
}
|
|
|
|
.mx_ViewSource_details {
|
|
margin-top: $spacing-12;
|
|
}
|
|
|
|
.mx_CopyableText_border {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
}
|