diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss index 910cabc5d0a..0251b02372c 100644 --- a/app/assets/stylesheets/common/base/user.scss +++ b/app/assets/stylesheets/common/base/user.scss @@ -44,7 +44,7 @@ .btn { width: 100%; margin-bottom: 5px; - @include box-sizing(border-box); + box-sizing: border-box; } } h2 { diff --git a/app/assets/stylesheets/common/foundation/mixins.scss b/app/assets/stylesheets/common/foundation/mixins.scss index f4fbe9b3009..f94421782a1 100644 --- a/app/assets/stylesheets/common/foundation/mixins.scss +++ b/app/assets/stylesheets/common/foundation/mixins.scss @@ -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) { diff --git a/app/assets/stylesheets/desktop/compose.scss b/app/assets/stylesheets/desktop/compose.scss index 7bbfa280360..fd9442a40f5 100644 --- a/app/assets/stylesheets/desktop/compose.scss +++ b/app/assets/stylesheets/desktop/compose.scss @@ -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; diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss index 048f2985565..1f4fde3e33f 100644 --- a/app/assets/stylesheets/mobile/compose.scss +++ b/app/assets/stylesheets/mobile/compose.scss @@ -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;