fix problem with duplicates in feed, plus some other UI tweaks

This commit is contained in:
2024-04-26 17:05:11 -06:00
parent bef56fce10
commit 9acba28b85
2 changed files with 16 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
<!-- CONTENT -->
<section id="Content" class="p-6 pb-24 max-w-3xl mx-auto">
<!-- Breadcrumb -->
<div id="ViewBreadcrumb" class="mb-8">
<div id="ViewBreadcrumb">
<h1 class="text-lg text-center font-light relative px-7">
<!-- Back -->
<button
@@ -15,11 +15,12 @@
<fa icon="chevron-left" class="fa-fw"></fa>
</button>
Idea
<h2 class="text-xl font-semibold">{{ name }}</h2>
</h1>
</div>
<!-- Project Details -->
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-4">
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mt-4">
<div>
<div class="block pb-4 flex gap-4">
<div class="flex-none w-16 pt-1">
@@ -31,7 +32,6 @@
</div>
<div class="overflow-hidden">
<h2 class="text-xl font-semibold">{{ name }}</h2>
<div class="text-sm mb-3">
<div class="truncate">
<fa icon="user" class="fa-fw text-slate-400"></fa>
@@ -113,7 +113,7 @@
</button>
</div>
<div v-if="activeDid" class="mb-4">
<div v-if="activeDid" class="mt-4">
<div class="text-center">
<button
@click="openOfferDialog()"
@@ -127,7 +127,7 @@
<div v-if="activeDid">
<div class="text-center">
<p class="mt-2 mb-4 text-center">Record a contribution from:</p>
<p class="mt-2 mt-4 text-center">Record a contribution from:</p>
</div>
<ul
class="grid grid-cols-4 sm:grid-cols-5 md:grid-cols-6 gap-x-3 gap-y-5 text-center mb-5"
@@ -184,9 +184,7 @@
<!-- Offers & Gifts to & from this -->
<div class="grid items-start grid-cols-1 sm:grid-cols-3 gap-4 mt-4">
<div class="bg-slate-100 px-4 py-3 rounded-md">
<h3 class="text-sm font-semibold mb-3">
Offered To This Idea
</h3>
<h3 class="text-sm font-semibold mb-3">Offered To This Idea</h3>
<div v-if="offersToThis.length === 0">
(None yet. Wanna