diff --git a/app/views/groups/_home_panel.html.haml b/app/views/groups/_home_panel.html.haml index f87db07d75131b63dd401b7d086b3b657df11d05..ca7798257cbf6b2122f054342ee411c033565a4c 100644 --- a/app/views/groups/_home_panel.html.haml +++ b/app/views/groups/_home_panel.html.haml @@ -40,7 +40,7 @@ - if @group.description.present? .group-home-desc.mt-1 - .home-panel-description.text-break + .home-panel-description .home-panel-description-markdown.read-more-container{ itemprop: 'description' } = markdown_field(@group, :description) = render Pajamas::ButtonComponent.new(variant: :link, button_options: { class: 'js-read-more-trigger gl-lg-display-none' }) do diff --git a/app/views/groups/settings/_general.html.haml b/app/views/groups/settings/_general.html.haml index 115ed0f0fa4d3a7140d7908fe3977a288f67ef79..22ed6ea4403997afc22837d8ad02f84643d8fae1 100644 --- a/app/views/groups/settings/_general.html.haml +++ b/app/views/groups/settings/_general.html.haml @@ -17,7 +17,7 @@ .row.gl-mt-3 .form-group.col-md-9 = f.label :description, s_('Groups|Group description (optional)'), class: 'label-bold' - = f.text_area :description, class: 'form-control', rows: 3 + = f.text_area :description, class: 'form-control', rows: 3, maxlength: 250 .row.gl-mt-3 .form-group.col-md-5