Skip to content

Commit

Permalink
Remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-karlsson committed Mar 23, 2024
1 parent e472154 commit ae65526
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/Council.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ function Council({ options }) {
};

const foodItemStyle = (index, total) => {
const archHeightVW = 3; // Arch height in vw units
const verticalOffsetVW = 7; // Default value for wider screens
const archHeightVW = 3;
const verticalOffsetVW = 7;

const middleIndex = (total - 1) / 2;

Expand All @@ -55,7 +55,7 @@ function Council({ options }) {
return {
position: "absolute",
left: `${(index / (total - 1)) * 100}%`,
top: `calc(${topValueVW}vw - ${verticalOffsetVW}vw)`, // Use calc() to combine vw units and the fixed pixel offset
top: `calc(${topValueVW}vw - ${verticalOffsetVW}vw)`,
transform: "translate(-50%, -50%)",
boxShadow: calculateShadow(index, total),
};
Expand Down

0 comments on commit ae65526

Please sign in to comment.