-
Notifications
You must be signed in to change notification settings - Fork 0
fix: update default title and improve styling #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -29,7 +29,7 @@ | |||
| .flashcards-title { | ||||
| color: var(--primary-500, #00262B); | ||||
| font-size: 24px; | ||||
| font-weight: 600; | ||||
| font-weight: 700; | ||||
| line-height: 32px; | ||||
| margin: 0; | ||||
| } | ||||
|
|
@@ -52,7 +52,10 @@ | |||
|
|
||||
| .flashcards-start-title { | ||||
| color: var(--primary-500, #00262B); | ||||
| text-align: center; | ||||
| font-family: Inter; | ||||
|
||||
| font-family: Inter; |
Copilot
AI
Jan 22, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'font-style: normal' declaration is unnecessary as 'normal' is already the default value for font-style. This property only needs to be explicitly set when you want italic or oblique styles.
| font-style: normal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default title has been changed from DEFAULT.MATCHING_TITLE to DEFAULT.FLASHCARDS_TITLE. This change aligns the default title with the default game type (which is flashcards), but it will break the existing test in tests/test_games.py at line 58 which expects 'default_block.title == DEFAULT.MATCHING_TITLE'. The test assertion needs to be updated to 'assert default_block.title == DEFAULT.FLASHCARDS_TITLE' to reflect this change.