Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

fix(calendar): anchor the post state badges with start instead of left so they follow RTL

Gilad Resisifffe4faf67f4
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsx
index e3f86ba73..c8023a2d6 100644
--- a/apps/frontend/src/components/launches/calendar.tsx
+++ b/apps/frontend/src/components/launches/calendar.tsx
@@ -1088,7 +1088,7 @@ const CalendarItem: FC<{
>
{state === 'ERROR' && (
<div
- className="absolute -top-[6px] -left-[6px] z-20 w-[18px] h-[18px] rounded-full bg-red-500 flex items-center justify-center text-white text-[11px] font-bold cursor-pointer"
+ className="absolute -top-[6px] -start-[6px] z-20 w-[18px] h-[18px] rounded-full bg-red-500 flex items-center justify-center text-white text-[11px] font-bold cursor-pointer"
data-tooltip-id="tooltip"
data-tooltip-class-name="!max-w-[400px] break-words"
data-tooltip-content={post.error || 'An error occurred while publishing this post'}
@@ -1097,7 +1097,7 @@ const CalendarItem: FC<{
</div>
)}
{state === 'PUBLISHED' && (
- <div className="absolute -top-[6px] -left-[6px] z-20 w-[18px] h-[18px] rounded-full bg-green-500 flex items-center justify-center text-white text-[11px] font-bold">
+ <div className="absolute -top-[6px] -start-[6px] z-20 w-[18px] h-[18px] rounded-full bg-green-500 flex items-center justify-center text-white text-[11px] font-bold">
βœ“
</div>
)}