style: improve pill layout for mobile
- Wrap lesson label in span for mobile hiding - Truncate module name with ellipsis if too long - Hide "Lesson/Lektion" label on mobile, show only "1 / 3" - Add lessonLabel i18n keys for EN/DE
This commit is contained in:
@@ -31,6 +31,7 @@ const translations = {
|
||||
previous: "Previous",
|
||||
next: "Next",
|
||||
levelIndicator: "Lesson {current} of {total}",
|
||||
lessonLabel: "Lesson",
|
||||
|
||||
// Sidebar
|
||||
menu: "Menu",
|
||||
@@ -119,6 +120,7 @@ const translations = {
|
||||
previous: "Zurück",
|
||||
next: "Weiter",
|
||||
levelIndicator: "Lektion {current} von {total}",
|
||||
lessonLabel: "Lektion",
|
||||
|
||||
// Sidebar
|
||||
menu: "Menü",
|
||||
|
||||
Reference in New Issue
Block a user