From cded685f50ab1313a4f269b1adc64b6a9ba7821e Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Tue, 5 Sep 2017 16:04:50 +0200 Subject: [PATCH] Make modal resizable --- app/assets/stylesheets/request-for-comments.css.scss | 5 +++++ app/views/request_for_comments/show.html.erb | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/request-for-comments.css.scss b/app/assets/stylesheets/request-for-comments.css.scss index e7ae7806..801ee000 100644 --- a/app/assets/stylesheets/request-for-comments.css.scss +++ b/app/assets/stylesheets/request-for-comments.css.scss @@ -22,6 +22,11 @@ display: none !important; } +.modal-content { + min-height: 512px; + min-width: 360px; +} + .comment { width: 100%; min-width: 200px; diff --git a/app/views/request_for_comments/show.html.erb b/app/views/request_for_comments/show.html.erb index 41bac9e5..a41c7921 100644 --- a/app/views/request_for_comments/show.html.erb +++ b/app/views/request_for_comments/show.html.erb @@ -81,7 +81,11 @@ also, all settings from the rails model needed for the editor configuration in t