summaryrefslogtreecommitdiffstats
path: root/webapp/sass/responsive
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmood@users.noreply.github.com>2017-08-25 19:29:31 +0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-25 10:29:31 -0400
commit1a71589dce9781be8c9eca17a5d96f94b57d0679 (patch)
tree0c962b9c0a7c0aa147fe3856d33ea64683708d92 /webapp/sass/responsive
parent086365fb84e1d8096993756b79558bc204b1df2e (diff)
downloadchat-1a71589dce9781be8c9eca17a5d96f94b57d0679.tar.gz
chat-1a71589dce9781be8c9eca17a5d96f94b57d0679.tar.bz2
chat-1a71589dce9781be8c9eca17a5d96f94b57d0679.zip
PLT-7224 - Updating post textbox UI (#7153)
* PLT-7224 - Updating post textbox UI * Updating post textbox spacing * Updating emoji icon
Diffstat (limited to 'webapp/sass/responsive')
-rw-r--r--webapp/sass/responsive/_mobile.scss25
-rw-r--r--webapp/sass/responsive/_tablet.scss80
2 files changed, 22 insertions, 83 deletions
diff --git a/webapp/sass/responsive/_mobile.scss b/webapp/sass/responsive/_mobile.scss
index ba830000a..fdbf774ee 100644
--- a/webapp/sass/responsive/_mobile.scss
+++ b/webapp/sass/responsive/_mobile.scss
@@ -40,13 +40,30 @@
}
.post-create__container {
- padding-bottom: 10px;
+ .post-create-footer {
+ padding: 0 10px;
+ }
+
+ form {
+ padding: 0;
+ }
+
+ .post-create-body {
+ padding: 0;
+
+ textarea {
+ .app-content & {
+ border-left: none;
+ border-right: none;
+ }
+ }
+ }
.msg-typing {
display: none;
}
- .icon--emoji-picker {
+ .emoji-picker__container {
display: none;
}
}
@@ -821,7 +838,7 @@
}
.file-preview__container {
- margin: 5px 0 0;
+ margin: 10px 0 5px;
}
.file-preview {
@@ -1189,6 +1206,8 @@
}
.post-create-footer {
+ padding-top: 10px;
+
.control-label {
margin: .5em 0;
top: 0;
diff --git a/webapp/sass/responsive/_tablet.scss b/webapp/sass/responsive/_tablet.scss
index 71b95c997..967d6231d 100644
--- a/webapp/sass/responsive/_tablet.scss
+++ b/webapp/sass/responsive/_tablet.scss
@@ -19,86 +19,6 @@
}
}
- .post-create__container {
- .post-create {
- &.post-create--attachment-disabled {
- .post-body__cell {
- padding-left: 1em;
- }
-
- .post-create-footer {
- padding-left: 1em;
- }
- }
- }
-
- form {
- padding: .5em 0 0;
- }
-
- .post-create-footer {
- padding: 0 45px 0 8px;
-
- .post-error {
- position: relative;
- top: 0;
-
- .sidebar--right & {
- left: 0;
- }
- }
- }
-
- .post-create-body {
- display: table;
- width: 100%;
-
- .post-body__cell {
- display: table-cell;
- padding-left: 45px;
-
-
- .sidebar--right & {
- padding-left: 0;
- }
- }
-
- .app__content & {
- .btn-file {
- bottom: -2px;
- left: 10px;
- line-height: 36px;
- padding: 0;
- top: auto;
- width: 25px;
-
- .icon--emoji-picker {
- display: none;
- }
- }
- }
-
- .app__content & {
- .icon {
- position: relative;
- top: 3px;
-
- }
- }
-
- .icon__emoji_picker {
- position: relative;
- display: none;
- top: 1px;
- right: -1px;
- }
-
- .send-button {
- display: table-cell;
- }
- }
- }
-
.signup-team__container {
&.branded {
display: block;