Skip to content

Commit

Permalink
Made button text larger on mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
malikpiara committed Jun 18, 2024
1 parent 4ccf5b8 commit 0afe302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Button = ({ label, ...props }: ButtonProps) => {
<>
<button
type='button'
className={`text-white w-full font-semibold rounded-md text-sm px-7 py-2.5 mb-2 ${
className={`text-white w-full font-semibold rounded-md text-base md:text-sm px-7 py-2.5 mb-2 ${
props.disabled
? ' bg-gray-200 cursor-not-allowed'
: 'bg-primaryColor hover:opacity-90'
Expand Down
2 changes: 1 addition & 1 deletion components/quiz/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const Quiz: React.FC<QuizProps> = ({ chapter }) => {

<div className='flex flex-col justify-center gap-10 mx-4 md:mx-8 text-gray-500'>
<div>
<h3 className='text-2xl font-semibold text-gray-800'>
<h3 className='text-xl md:text-2xl font-semibold text-gray-800'>
What makes a well-formed formula (wff)?
</h3>
<p>{`A wff must have one of these eight forms (where other capitals can replace "A" and "B" and other small letters "c" and "d"):`}</p>
Expand Down

0 comments on commit 0afe302

Please sign in to comment.