From 892b298bf75da99eb10fa0b092149148cea240cd Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 8 Jun 2025 20:22:34 +0200 Subject: [PATCH] enforce breaking long titles to avoid ruining the grid layout --- app/assets/builds/application.css | 2 ++ app/assets/stylesheets/my_styles.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/app/assets/builds/application.css b/app/assets/builds/application.css index d322b34..826dcbf 100644 --- a/app/assets/builds/application.css +++ b/app/assets/builds/application.css @@ -7155,6 +7155,8 @@ a.black { .pkgcard .pkgname { font-size: 120%; padding: 10px; + word-break: break-word; + overflow-wrap: anywhere; } .pkgcard.unapproved { diff --git a/app/assets/stylesheets/my_styles.scss b/app/assets/stylesheets/my_styles.scss index 647e1c9..15ccfcd 100644 --- a/app/assets/stylesheets/my_styles.scss +++ b/app/assets/stylesheets/my_styles.scss @@ -575,6 +575,10 @@ a.black .pkgname { font-size: 120%; padding: 10px; + + // enforce breaking long words + word-break: break-word; + overflow-wrap: anywhere; } // width: 100%; margin-bottom: 20px;