mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
fix: use fixed height instead of min-height for GitHub widget tabs
Prevents all layout shift by locking the content area to h-[340px] with overflow-y-auto for scrolling if content exceeds the area. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
</div>
|
||||
|
||||
{# Tab content — fixed height container to prevent layout shift #}
|
||||
<div class="min-h-[320px]">
|
||||
<div class="h-[340px] overflow-y-auto">
|
||||
|
||||
{# Loading state #}
|
||||
<div x-show="loading" class="text-sm text-surface-500 py-4 text-center">
|
||||
|
||||
Reference in New Issue
Block a user