Skip to content

Commit

Permalink
adjusting margins on stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub committed Jul 25, 2024
1 parent 6b5546e commit 6b8dea5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,11 @@ export function HomeScreenImpl(): JSX.Element | null {
<LoadingIssuedPCDs />
</>
)}
{loadedIssuedPCDs && (
<div className="text-center font-sm text-gray-300 mt-[0.75rem]">
Don't see your tickets?
</div>
)}
</Placeholder>

<Spacer h={24} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function LoadingIssuedPCDs(): JSX.Element | null {

return (
<Container
className="w-full rounded bg-gray-500 py-2 px-4 text-white text-lg font-bold "
className="w-full rounded bg-gray-500 py-2 px-4 text-white text-lg font-bold mt-[0.75rem]"
style={hiding ? { opacity: 0 } : { opacity: 1 }}
>
<div>Loading Tickets</div>
Expand Down
2 changes: 2 additions & 0 deletions apps/passport-client/components/shared/PCDCardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ export function PCDCardList({
const [idx, setIdx] = useState(0);
const pcd = sortedPCDs[idx];

if (!pcd) return null;

return (
<Container>
{/* {sortablePCDs.length > 1 && (
Expand Down

0 comments on commit 6b8dea5

Please sign in to comment.