PLT-4815 Refactor 'More Channels' modal into the new modal pattern (#4742)

* Refactor 'More Channels' modal into the new modal pattern

* Fix unit test

* Readded CSS changes
Этот коммит содержится в:
Joram Wilander
2016-12-15 11:40:46 -05:00
коммит произвёл enahum
родитель c35b95709e
Коммит 7f48a7fc9d
15 изменённых файлов: 197 добавлений и 198 удалений

Просмотреть файл

@@ -75,12 +75,6 @@
}
.app__body {
.more-modal {
.filter-row {
width: 330px;
}
}
.edit-modal-body {
.custom-textarea {
max-height: 30vh;
@@ -1172,6 +1166,19 @@
@media screen and (max-width: 640px) {
.app__body {
.modal {
.more-modal {
.modal-body {
max-height: calc(100vh - 62px);
padding-bottom: 5px;
}
.more-modal__list {
max-height: calc(100vh - 230px);
}
}
}
.post {
.open {
> .dropdown-menu__content {
@@ -1329,10 +1336,13 @@
@media screen and (max-width: 550px) {
.app__body {
.more-modal {
.filter-row {
width: 100%;
}
&.more-direct-channels {
.filter-row {
padding-bottom: 50px;
width: 100%;
}
.member-show {
@@ -1391,22 +1401,6 @@
}
.app__body {
.more-modal {
.modal-body {
padding-bottom: 5px;
}
.more-modal__list {
max-height: calc(100vh - 260px);
}
&.more-direct-channels {
.more-modal__list {
max-height: calc(100vh - 295px);
}
}
}
.modal {
&.more-channel__modal {
.more-modal__list {