refactor: Improve layout and responsiveness of NostrFeed and Home components

- Adjust NostrFeed.vue to enhance the scroll area height for better adaptability across screen sizes.
- Update Home.vue to refine the container's padding and width for improved layout consistency on various devices.
This commit is contained in:
padreug 2025-07-31 22:14:15 +02:00
parent fd4e0ea8e6
commit 62c52f0d7c
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ function formatDate(timestamp: number): string {
</script> </script>
<template> <template>
<div class="w-full max-w-3xl mx-auto p-4"> <div class="w-full max-w-3xl mx-auto">
<Card class="w-full"> <Card class="w-full">
<CardHeader> <CardHeader>
<CardTitle class="flex items-center gap-2"> <CardTitle class="flex items-center gap-2">

View file

@ -1,5 +1,5 @@
<template> <template>
<div class="container py-8 space-y-6"> <div class="w-full px-4 sm:px-6 lg:px-8 xl:px-12 2xl:px-16 py-8 space-y-6">
<PWAInstallPrompt auto-show /> <PWAInstallPrompt auto-show />
<NotificationPermission auto-show /> <NotificationPermission auto-show />
<NostrFeed feed-type="announcements" /> <NostrFeed feed-type="announcements" />