Merge pull request #2696 from matrix-org/t3chguy/pretty_view_source

make ViewSource less awkward
This commit is contained in:
Travis Ralston 2019-02-24 17:55:07 -07:00 committed by GitHub
commit 2b9b07c29d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 29 deletions

View file

@ -249,12 +249,6 @@ textarea {
box-shadow: none;
}
/* View Source Dialog overide */
.mx_Dialog_wrapper.mx_Dialog_viewsource .mx_Dialog {
padding-left: 10px;
padding-right: 10px;
}
.mx_Dialog {
background-color: $primary-bg-color;
color: $light-fg-color;

View file

@ -14,6 +14,19 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_ViewSource_label_left {
float: left;
}
.mx_ViewSource_label_right {
float: right;
}
.mx_ViewSource_label_bottom {
clear: both;
border-bottom: 1px solid #e5e5e5;
}
.mx_ViewSource pre {
text-align: left;
font-size: 12px;