Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Provide minimal height for default_text field (#8304)

Henriette Dargea8cba5bfbb04
diff --git a/app/assets/stylesheets/content/editor/_ckeditor.sass b/app/assets/stylesheets/content/editor/_ckeditor.sass
index 069df7268a7..59857061020 100644
--- a/app/assets/stylesheets/content/editor/_ckeditor.sass
+++ b/app/assets/stylesheets/content/editor/_ckeditor.sass
@@ -101,6 +101,10 @@ ckeditor-augmented-textarea .op-ckeditor--wrapper
border-top-left-radius: 0
border-top-right-radius: 0
+ .document-editor__editable
+ .-large-height &
+ min-height: 250px
+
.ck-editor__editable
padding: 1cm 2cm 2cm
border: 1px hsl( 0,0%,82.7% ) solid
diff --git a/app/views/types/form/_settings.html.erb b/app/views/types/form/_settings.html.erb
index 591b6e931ed..55d59228a9a 100644
--- a/app/views/types/form/_settings.html.erb
+++ b/app/views/types/form/_settings.html.erb
@@ -56,7 +56,7 @@ See docs/COPYRIGHT.rdoc for more details.
</div>
<% end %>
- <div class="form--field">
+ <div class="form--field -wide-label -large-height">
<%= f.text_area :description,
class: 'wiki-edit wiki-toolbar',
container_class: '-xxwide',