Merge pull request #4639 from vector-im/luke/css-rte-pre

Apply CSS to <pre> tags to distinguish them from each other
This commit is contained in:
Luke Barnard 2017-07-19 17:16:02 +01:00 committed by GitHub
commit 3544c2b0c8
1 changed files with 6 additions and 0 deletions

View File

@ -112,6 +112,12 @@ limitations under the License.
border-left: 4px solid $blockquote-bar-color; border-left: 4px solid $blockquote-bar-color;
} }
.mx_MessageComposer_input pre.public-DraftStyleDefault-pre pre {
background-color: $rte-code-bg-color;
border-radius: 3px;
padding: 10px;
}
.mx_MessageComposer_input textarea { .mx_MessageComposer_input textarea {
display: block; display: block;
width: 100%; width: 100%;