Skip to content

Commit 6f44edc

Browse files
authored
🚁😱 ↝ Merge pull request #98 from Signal-K/GP-11
🧼🚁 ↝ Identifying that no crafting recipes are being inforced on struc…
2 parents 00b0a8e + dc7cce5 commit 6f44edc

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

components/Content/ClassificationFeed.tsx

+5-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ export default function ClassificationFeed({ custommaxWidth = '85%' }) {
5757
<ul
5858
aria-label="Nested user feed"
5959
role="feed"
60-
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"
60+
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"
6161
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
6262
>
6363
{posts.map((post) => (
64-
<li key={post.id} role="article" className="relative pl-8">
64+
<li key={post.id} role="article" className="relative px-4">
6565
<CardForum {...post} />
6666
</li>
6767
))}
@@ -129,7 +129,7 @@ export function FactionFeed({ custommaxWidth = '85%', factionId }) {
129129
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
130130
>
131131
{posts.map((post) => (
132-
<li key={post.id} role="article" className="relative pl-8">
132+
<li key={post.id} role="article" className="relative">
133133
<RoverContentCard {...post} />
134134
</li>
135135
))}
@@ -180,11 +180,11 @@ export function MultiClassificationFeed({ custommaxWidth = '85%' }) {
180180
<ul
181181
aria-label="Nested user feed"
182182
role="feed"
183-
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"
183+
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"
184184
style={{ maxWidth: custommaxWidth, margin: 'auto' }}
185185
>
186186
{posts.map((post) => (
187-
<li key={post.id} role="article" className="relative pl-8">
187+
<li key={post.id} role="article" className="relative">
188188
<CardForum {...post} />
189189
</li>
190190
))}

components/Content/Planets/Activities/StructureCreate.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
4848
{
4949
item: structure.id,
5050
owner: session.user.id,
51-
quantity: 1, // You can adjust the quantity as needed
51+
quantity: 1,
5252
planetSector: planetSectorId,
5353
},
5454
]);
@@ -77,7 +77,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
7777
};
7878

7979
return (
80-
<div className="relative inline-block text-left">
80+
<center><div className="relative inline-block text-center pl-10">
8181
<button
8282
type="button"
8383
className="px-4 py-2 text-white bg-blue-500 rounded-md focus:outline-none hover:bg-blue-600"
@@ -95,7 +95,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
9595
className="flex items-center justify-between px-4 py-2 hover:bg-gray-100 cursor-pointer"
9696
onClick={() => handleStructureClick(structure)}
9797
>
98-
<div className="flex items-center space-x-2">
98+
<div className="flex items-center space-x-2 pl-8">
9999
<img src={structure.icon_url} alt={structure.name} className="w-8 h-8" />
100100
<span className="font-bold">{structure.name}</span>
101101
</div>
@@ -105,7 +105,7 @@ const StructureSelection: React.FC<StructureSelectionProps> = ({ onStructureSele
105105
</div>
106106
</div>
107107
)}
108-
</div>
108+
</div></center>
109109
);
110110
};
111111

0 commit comments

Comments
 (0)