width 100% for editor on mobile; no preview
also remove box-sizing mixin, use native CSS3
This commit is contained in:
parent
27061d5fab
commit
15b94acd85
|
@ -44,7 +44,7 @@
|
||||||
.btn {
|
.btn {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
@include box-sizing(border-box);
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
|
|
|
@ -33,14 +33,6 @@
|
||||||
// CSS3 properties
|
// CSS3 properties
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
// Box sizing
|
|
||||||
|
|
||||||
@mixin box-sizing($sizing) {
|
|
||||||
-webkit-box-sizing: $sizing;
|
|
||||||
-moz-box-sizing: $sizing;
|
|
||||||
box-sizing: $sizing;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Border radius
|
// Border radius
|
||||||
|
|
||||||
@mixin border-radius-all($radius) {
|
@mixin border-radius-all($radius) {
|
||||||
|
|
|
@ -367,7 +367,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#wmd-input, #wmd-preview-scroller, #wmd-preview {
|
#wmd-input, #wmd-preview-scroller, #wmd-preview {
|
||||||
@include box-sizing(border-box);
|
box-sizing: border-box;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
@ -397,7 +397,7 @@
|
||||||
}
|
}
|
||||||
.textarea-wrapper, .preview-wrapper {
|
.textarea-wrapper, .preview-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
@include box-sizing(border-box);
|
box-sizing: border-box;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -238,7 +238,6 @@ display: none;
|
||||||
|
|
||||||
|
|
||||||
#wmd-input {
|
#wmd-input {
|
||||||
@include box-sizing(border-box);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
@ -255,12 +254,11 @@ display: none;
|
||||||
}
|
}
|
||||||
.textarea-wrapper {
|
.textarea-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
@include box-sizing(border-box);
|
box-sizing: border-box;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
width: 50%;
|
|
||||||
}
|
}
|
||||||
.textarea-wrapper {
|
.textarea-wrapper {
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
|
Loading…
Reference in New Issue