diff --git a/jvm/src/main/resources/www/static/main.css b/jvm/src/main/resources/www/static/main.css
index 7af9cbc84b8b9c787aa45cb2475de2255600f477..0f301ef7db71d08ec24a26dedfc75b7d84b165f0 100644
--- a/jvm/src/main/resources/www/static/main.css
+++ b/jvm/src/main/resources/www/static/main.css
@@ -182,6 +182,9 @@ form > *:last-child {
 
 .app-grid figure figcaption {
     margin: 0.5rem;
+    max-height: 6.35lh;
+    overflow-y: auto;
+    scrollbar-width: thin;
 }
 
 .app-grid figure :is(h4, p) {
@@ -193,11 +196,9 @@ form > *:last-child {
 }
 
 .app-grid figure p {
+    margin-bottom: 0;
     font-size: 0.7em;
     opacity: 0.7;
-    max-height: 4.5lh;
-    overflow-y: auto;
-    scrollbar-width: thin;
 }
 
 .app-grid figure img {