Add copy button to View Source screen (#8278)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
olivialivia 2022-04-11 19:37:52 +01:00 committed by GitHub
parent 9ba55d1d14
commit 7b2f1e22e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 7 deletions

View file

@ -34,8 +34,13 @@ limitations under the License.
padding: 0.5em 1em 0.5em 1em;
word-wrap: break-word;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.mx_ViewSource_details {
margin-top: 0.8em;
}
.mx_ViewSource_container {
max-width: calc(100% - 24px);
}