Skip to content

Commit

Permalink
fix flashcards width
Browse files Browse the repository at this point in the history
  • Loading branch information
joseplayero committed Jul 10, 2024
1 parent 54b5523 commit 7ae9fb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Flashcard/FlashcardsCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export const FlashcardCore = ({
flipDirection="vertical"
>
<Button
className="bg-orange-900 mt-3 mb-2 border-none rounded-md h-10
cursor-pointer w-[900px] h-full
className="bg-orange-900 mt-3 mb-2 border-none rounded-md
cursor-pointer w-full h-full
text-center text-lg normal-case"
onClick={() =>
updateFlashcardUnderReview(currentSelectedFlashcard, {
Expand All @@ -60,8 +60,8 @@ export const FlashcardCore = ({
</Button>
{flashcardQAPairs[currentSelectedFlashcard].isFlipped && ( // this boolean is required to ensure that we check the flipped boolean to prevent the answer from leaking
<Button
className="bg-slate-700 mt-3 mb-2 border-none rounded-md h-10
hover:bg-slate-900 cursor-pointer w-[900px] h-full
className="bg-slate-700 mt-3 mb-2 border-none rounded-md
hover:bg-slate-900 cursor-pointer w-full h-full
text-center text-lg normal-case"
onClick={() =>
updateFlashcardUnderReview(currentSelectedFlashcard, {
Expand Down

0 comments on commit 7ae9fb5

Please sign in to comment.