Skip to content

Commit

Permalink
margin fixed on questPage
Browse files Browse the repository at this point in the history
  • Loading branch information
mystical-prog committed Jun 18, 2024
1 parent d21bdf9 commit ba7b374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/UI/questTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const QuestTag: FunctionComponent<TagProps> = ({
minWidth: '7rem',
fontSize: "16px",
height:"36px",
marginBottom: "16px",
flexDirection: label === "Done" || label === "Expired" ? 'row-reverse' : 'row', // Adjust direction based on label
paddingRight: label === "Done" || label === "Expired" ? '15px' : '0', // Adjust padding for label
fontFamily: 'Sora' // Apply the correct font
Expand All @@ -54,4 +55,4 @@ const QuestTag: FunctionComponent<TagProps> = ({
);
};

export default QuestTag;
export default QuestTag;

0 comments on commit ba7b374

Please sign in to comment.