summaryrefslogtreecommitdiffstats
path: root/webapp/sass
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-11-04 12:35:38 -0400
committerChristopher Speller <crspeller@gmail.com>2016-11-04 12:35:38 -0400
commite63e80dee012b22aca94c0095e184c6a6a80d4d7 (patch)
treef58b48a042cdefa6a7f65f4b3876322362bc0b98 /webapp/sass
parent7403bbce69baeabd7b4cd1ef316513a9fc6807c5 (diff)
downloadchat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.tar.gz
chat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.tar.bz2
chat-e63e80dee012b22aca94c0095e184c6a6a80d4d7.zip
PLT-4404/PLT-4578/PLT-4541/PLT-4542 Replaced third party autosizing textarea with a custom one (#4442)
* PLT-4578 Replaced third party autosizing textarea with a custom one * Fix Textbox.handleHeightChange not being called * Removed unused CSS * PLT-4541 Force EditPostModal to resize upon opening * Removed usage of jquery from AutosizeTextarea * Reverted changes made for PLT-4580 as they're no longer needed
Diffstat (limited to 'webapp/sass')
-rw-r--r--webapp/sass/components/_modal.scss2
-rw-r--r--webapp/sass/layout/_post.scss26
2 files changed, 1 insertions, 27 deletions
diff --git a/webapp/sass/components/_modal.scss b/webapp/sass/components/_modal.scss
index 7a44e3b96..3faf78bc6 100644
--- a/webapp/sass/components/_modal.scss
+++ b/webapp/sass/components/_modal.scss
@@ -21,7 +21,7 @@
.custom-textarea {
max-height: 60vh;
- min-height: 20em;
+ min-height: 8em;
}
.suggestion-list {
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss
index efba5b6f1..4a995a4d6 100644
--- a/webapp/sass/layout/_post.scss
+++ b/webapp/sass/layout/_post.scss
@@ -22,31 +22,6 @@
color: #d04444 !important;
}
-.textarea-div {
- border: 0;
- color: rgba(0,0,0,0);
- height: auto;
- left: 1px;
- line-height: 20px;
- min-height: 36px;
- position: absolute;
- top: 0px;
- white-space: pre-wrap;
- word-break: break-word;
- word-wrap: normal;
-}
-
-body.ios {
- .textarea-div {
- -webkit-overflow-scrolling: auto;
- padding: 7px 17px 7px 15px;
- }
-}
-
-.textarea-div::-webkit-scrollbar {
- display: none;
-}
-
.textarea-wrapper {
min-height: 36px;
position: relative;
@@ -390,7 +365,6 @@ body.ios {
.custom-textarea {
bottom: 0;
- line-height: 1.5;
max-height: 162px !important;
padding-right: 28px;
padding-top: 8px;