diff --git a/src/app/(protected)/[classSlug]/flashcards/[deckId]/page.tsx b/src/app/(protected)/[classSlug]/flashcards/[deckId]/page.tsx index 0cd1472..39cae8a 100644 --- a/src/app/(protected)/[classSlug]/flashcards/[deckId]/page.tsx +++ b/src/app/(protected)/[classSlug]/flashcards/[deckId]/page.tsx @@ -110,7 +110,7 @@ export default function DeckStudyPage() { {/* View toggle & Share */} -
+
{view === "study" && ( )} - -
- - +
+ + +
+ + +
diff --git a/src/app/shared/[classSlug]/[type]/[token]/SharedViewer.tsx b/src/app/shared/[classSlug]/[type]/[token]/SharedViewer.tsx index efd0bd8..b91949e 100644 --- a/src/app/shared/[classSlug]/[type]/[token]/SharedViewer.tsx +++ b/src/app/shared/[classSlug]/[type]/[token]/SharedViewer.tsx @@ -62,7 +62,7 @@ export function SharedViewer({ type, data }: SharedViewerProps) { )}
-
+
{view === "study" && ( )} - {type === "flashcards" && ( -
- - -
- )} +
+ {type === "flashcards" && ( +
+ + +
+ )} +
diff --git a/src/components/flashcards/FlashcardViewer.tsx b/src/components/flashcards/FlashcardViewer.tsx index 7667cd7..db1c05b 100644 --- a/src/components/flashcards/FlashcardViewer.tsx +++ b/src/components/flashcards/FlashcardViewer.tsx @@ -398,36 +398,15 @@ export function FlashcardViewer({ cards, deckId, isShared = false, initialProgre )} -
- {currentIndex > 0 && ( - - )} - -
+
+ + {/* Primary Action Row (Grading) */} +
{hasFlippedOnce && ( -
+
- + {/* Secondary Action Row (Navigation/Settings) */} +
+ {currentIndex > 0 ? ( + + ) :
} + + +
+
{hasFlippedOnce ? "← Missed · Got It →" : "Space to flip"}
-
)}