From 63b643ee03d94573765fbe36d7d75912a2d1100b Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Fri, 21 Sep 2018 15:37:17 -0300 Subject: [PATCH] regression modal --- .../rocketchat-theme/client/imports/components/modal.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/rocketchat-theme/client/imports/components/modal.css b/packages/rocketchat-theme/client/imports/components/modal.css index 0be2cdbc42f4..c855ee330654 100644 --- a/packages/rocketchat-theme/client/imports/components/modal.css +++ b/packages/rocketchat-theme/client/imports/components/modal.css @@ -1,7 +1,10 @@ .rc-modal { + display: flex; + flex-direction: column; + min-width: 400px; max-width: 500px; - height: 100%; + height: auto; max-height: 100%; animation: dropdown-show 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95); @@ -43,6 +46,7 @@ &__header { display: flex; flex-direction: row; + flex: 0 0; margin-bottom: -16px; padding: 16px; @@ -117,6 +121,8 @@ &__footer { display: flex; + flex: 0 0; + padding: 16px; background: #f7f8fa;