1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

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
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;