width 100% for editor on mobile; no preview

also  remove box-sizing mixin, use native CSS3
This commit is contained in:
Jeff Atwood 2014-10-11 04:30:34 -07:00
parent 27061d5fab
commit 15b94acd85
4 changed files with 4 additions and 14 deletions

View File

@ -44,7 +44,7 @@
.btn {
width: 100%;
margin-bottom: 5px;
@include box-sizing(border-box);
box-sizing: border-box;
}
}
h2 {

View File

@ -33,14 +33,6 @@
// CSS3 properties
// --------------------------------------------------
// Box sizing
@mixin box-sizing($sizing) {
-webkit-box-sizing: $sizing;
-moz-box-sizing: $sizing;
box-sizing: $sizing;
}
// Border radius
@mixin border-radius-all($radius) {

View File

@ -367,7 +367,7 @@
}
#wmd-input, #wmd-preview-scroller, #wmd-preview {
@include box-sizing(border-box);
box-sizing: border-box;
width: 100%;
height: 100%;
min-height: 100%;
@ -397,7 +397,7 @@
}
.textarea-wrapper, .preview-wrapper {
position: relative;
@include box-sizing(border-box);
box-sizing: border-box;
height: 100%;
min-height: 100%;
margin: 0;

View File

@ -238,7 +238,6 @@ display: none;
#wmd-input {
@include box-sizing(border-box);
width: 100%;
height: 100%;
min-height: 100%;
@ -255,12 +254,11 @@ display: none;
}
.textarea-wrapper {
position: relative;
@include box-sizing(border-box);
box-sizing: border-box;
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
width: 50%;
}
.textarea-wrapper {
padding-right: 5px;