summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/_home_panel.html.haml2
-rw-r--r--changelogs/unreleased/62134-fix-non-wraping-project-description.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 9f5241344a7..824fe3c791d 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -64,7 +64,7 @@
.home-panel-home-desc.mt-1
- if @project.description.present?
- .home-panel-description
+ .home-panel-description.text-break
.home-panel-description-markdown.read-more-container
= markdown_field(@project, :description)
%button.btn.btn-blank.btn-link.js-read-more-trigger.d-lg-none{ type: "button" }
diff --git a/changelogs/unreleased/62134-fix-non-wraping-project-description.yml b/changelogs/unreleased/62134-fix-non-wraping-project-description.yml
new file mode 100644
index 00000000000..8c734c526fe
--- /dev/null
+++ b/changelogs/unreleased/62134-fix-non-wraping-project-description.yml
@@ -0,0 +1,5 @@
+---
+title: Correctly word-wrapping project descriptions with very long words
+merge_request: 28695
+author: Erik van der Gaag
+type: fixed