Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧼🚁 ↝ Identifying that no crafting recipes are being inforced on struc… #98

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions components/Content/ClassificationFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export default function ClassificationFeed({ custommaxWidth = '85%' }) {
<ul
aria-label="Nested user feed"
role="feed"
className="relative flex flex-col gap-12 py-12 pl-8 before:absolute before:top-0 before:left-8 before:h-full before:-translate-x-1/2 after:absolute after:top-6 after:left-8 after:bottom-6 after:-translate-x-1/2"
className="relative flex flex-col gap-12 py-12 before:absolute before:top-0 before:left-8 before:h-full before:-translate-x-1/2 after:absolute after:top-6 after:left-8 after:bottom-6 after:-translate-x-1/2"
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
>
{posts.map((post) => (
<li key={post.id} role="article" className="relative pl-8">
<li key={post.id} role="article" className="relative px-4">
<CardForum {...post} />
</li>
))}
Expand Down Expand Up @@ -129,7 +129,7 @@ export function FactionFeed({ custommaxWidth = '85%', factionId }) {
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
>
{posts.map((post) => (
<li key={post.id} role="article" className="relative pl-8">
<li key={post.id} role="article" className="relative">
<RoverContentCard {...post} />
</li>
))}
Expand Down Expand Up @@ -180,11 +180,11 @@ export function MultiClassificationFeed({ custommaxWidth = '85%' }) {
<ul
aria-label="Nested user feed"
role="feed"
className="relative flex flex-col gap-12 py-12 pl-8 before:absolute before:top-0 before:left-8 before:h-full before:-translate-x-1/2 after:absolute after:top-6 after:left-8 after:bottom-6 after:-translate-x-1/2"
className="relative flex flex-col gap-12 py-12 before:absolute before:top-0 before:left-8 before:h-full before:-translate-x-1/2 after:absolute after:top-6 after:left-8 after:bottom-6 after:-translate-x-1/2"
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
>
{posts.map((post) => (
<li key={post.id} role="article" className="relative pl-8">
<li key={post.id} role="article" className="relative">
<CardForum {...post} />
</li>
))}
Expand Down
8 changes: 4 additions & 4 deletions components/Content/Planets/Activities/StructureCreate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
{
item: structure.id,
owner: session.user.id,
quantity: 1, // You can adjust the quantity as needed
quantity: 1,
planetSector: planetSectorId,
},
]);
Expand Down Expand Up @@ -77,7 +77,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
};

return (
<div className="relative inline-block text-left">
<center><div className="relative inline-block text-center pl-10">
<button
type="button"
className="px-4 py-2 text-white bg-blue-500 rounded-md focus:outline-none hover:bg-blue-600"
Expand All @@ -95,7 +95,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
className="flex items-center justify-between px-4 py-2 hover:bg-gray-100 cursor-pointer"
onClick={() => handleStructureClick(structure)}
>
<div className="flex items-center space-x-2">
<div className="flex items-center space-x-2 pl-8">
<img src={structure.icon_url} alt={structure.name} className="w-8 h-8" />
<span className="font-bold">{structure.name}</span>
</div>
Expand All @@ -105,7 +105,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
</div>
</div>
)}
</div>
</div></center>
);
};

Expand Down
Loading