summaryrefslogtreecommitdiffstats
path: root/webapp/sass/components/_modal.scss
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-05-09 17:14:43 +0500
committerJoram Wilander <jwawilander@gmail.com>2016-05-09 08:14:43 -0400
commit64b6d8cde5cff996d1c14eecb082e1fe4caced5d (patch)
tree19c306548d9b6c11f89f3801bd6a50ebf71dce5d /webapp/sass/components/_modal.scss
parentb4d28fe205e9bfb8d2d67526855f105eec4dfe4e (diff)
downloadchat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.tar.gz
chat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.tar.bz2
chat-64b6d8cde5cff996d1c14eecb082e1fe4caced5d.zip
DM and Modal changes (#2927)
* DM and Modal changes * Fixing image previews
Diffstat (limited to 'webapp/sass/components/_modal.scss')
-rw-r--r--webapp/sass/components/_modal.scss27
1 files changed, 20 insertions, 7 deletions
diff --git a/webapp/sass/components/_modal.scss b/webapp/sass/components/_modal.scss
index 90afe1b11..d53be29dc 100644
--- a/webapp/sass/components/_modal.scss
+++ b/webapp/sass/components/_modal.scss
@@ -217,6 +217,13 @@
width: 100%;
}
+ .modal-image__content {
+ max-height: 85vh;
+ max-width: 90vw;
+ overflow-x: hidden;
+ overflow-y: visible;
+ }
+
.modal-image__wrapper {
@include border-radius(3px);
display: table-cell;
@@ -365,6 +372,7 @@
bottom: -40px;
left: 0;
line-height: 40px;
+ max-width: 90vw;
padding: 0 10px;
position: absolute;
right: 0;
@@ -439,16 +447,21 @@
.member-show {
@include opacity(.8);
float: right;
- margin-top: 12px;
margin-right: 3px;
+ margin-top: 12px;
}
- .member-select {
- @include opacity(.8);
- float: right;
- width: auto;
- margin-top: 5px;
- margin-right: 5px;
+ .member-select__container {
+ .member-count {
+ margin: 12px 0 0 3px;
+ }
+
+ select {
+ @include opacity(.8);
+ float: right;
+ margin: 5px 5px 0 2px;
+ width: auto;
+ }
}
.more-purpose {