Fix layout so content divs fill remaining space and scroll on overflow
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 1m47s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 17:52:27 +00:00
parent 81cb2bc4b5
commit f29e937307
2 changed files with 36 additions and 26 deletions

View File

@@ -27,20 +27,20 @@ onMounted(() => {
</script>
<template>
<div class="justify-center text-center">
<div class="flex flex-col text-center h-full">
<Header class="text-left">Commits</Header>
<div v-if="isLoading">
<div v-if="isLoading" class="flex-1 overflow-y-auto">
<p>Loading latest activity...</p>
</div>
<div v-else-if="hasError">
<div v-else-if="hasError" class="flex-1 overflow-y-auto">
<p>Could not fetch feed. Please try again later.</p>
</div>
<div
v-else-if="feed"
class="flex-col justify-center flex overflow-y-scroll"
class="flex-1 flex flex-col justify-center overflow-y-auto"
>
<h3>Last git activity</h3>
<img
@@ -56,7 +56,7 @@ onMounted(() => {
<small> {{ new Date(feed.created).toLocaleString() }}</small>
</div>
<div v-else>
<div v-else class="flex-1 overflow-y-auto">
<p>No activity found.</p>
</div>
</div>