From 6b66505f8b767b48d19c63d080f685e355985f31 Mon Sep 17 00:00:00 2001 From: Joey Wunderlich Date: Thu, 25 Jun 2026 10:36:23 -0700 Subject: [PATCH] scroll long descriptions instead of pushing buttons out --- theme/home.less | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/theme/home.less b/theme/home.less index 99accc3cad2d..18661512b6a1 100644 --- a/theme/home.less +++ b/theme/home.less @@ -437,6 +437,19 @@ .project-info { order: 1; } + .ui.grid.stackable .project-info { + display: flex; + flex-direction: column; + + .segment { + display: flex; + flex-direction: column; + align-items: flex-start; + flex: 1 1 auto; + min-height: 0; + box-sizing: border-box; + } + } .actions { order: 2; } @@ -466,8 +479,15 @@ font-size: 20px; color: var(--pxt-neutral-foreground3); margin-bottom: 1rem; + flex: 0 0 auto; + } + .ui.labels { + flex: 0 0 auto; } .description-container { + flex: 1 1 auto; + min-height: 0; + width: 100%; max-height: 8rem; overflow-y: auto; margin-bottom: 0.5rem; @@ -478,6 +498,7 @@ .yt-button, button.home-share-button { display: inline-block; border-radius: 0.5rem; + flex: 0 0 auto; } .yt-button { background-color: var(--pxt-primary-background); @@ -1199,6 +1220,8 @@ overflow: visible; .segment { + height: auto; + max-height: none; padding-bottom: 1rem; } }