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:
parent
fd4e0ea8e6
commit
62c52f0d7c
2 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ function formatDate(timestamp: number): string {
|
|||
</script>
|
||||
|
||||
<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">
|
||||
<CardHeader>
|
||||
<CardTitle class="flex items-center gap-2">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<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 />
|
||||
<NotificationPermission auto-show />
|
||||
<NostrFeed feed-type="announcements" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue