Skip to content

Commit

Permalink
improved mobile portrat styling, added real heading strings
Browse files Browse the repository at this point in the history
  • Loading branch information
splican committed Oct 21, 2024
1 parent c91b9c5 commit 330f868
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function BreakTimeNotificationThumbnailSection({
return (
<div className="">
<h1 className="text-lg pt-2">{title}</h1>
<div className="grid grid-cols-5 gap-5 pt-4 bg-whitetrans rounded-lg p-4">
<div className="grid portrait:grid-cols-2 grid-cols-5 gap-5 pt-4 bg-whitetrans rounded-lg p-4 max-h-[30vh] overflow-y-auto">
{notifications.map((notification) => (
<BreakTimeNotificationThumbnail
key={notification.titleKey}
Expand Down Expand Up @@ -78,7 +78,7 @@ export default function BreakTimeNotificationOverview() {
>
{/* Selection */}
{!selectedNotification && (
<div className="text-md font-bold text-adlerdarkblue pl-1">
<div className="text-md font-bold text-adlerdarkblue pl-1 overflow-y-auto">
<BreakTimeNotificationThumbnailSection
title={translate("30 Minuten Pausenhinweise")}
notifications={viewModel.shortBreakTimeNotifications}
Expand Down
16 changes: 15 additions & 1 deletion src/localize/de/breakTime.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,19 @@
"infoWhy": "Warum?",

"longBreakBase": "Sie haben nun 4 Stunden am Stück im AdLer-System gelernt und gearbeitet. Wir würden Ihnen eine längere Pause von mindestens 90 Minuten empfehlen.",
"infoStroll": "Wie wäre es denn mit einem Spaziergang?"
"infoStroll": "Wie wäre es denn mit einem Spaziergang?",

"B3": "Dehnung für den Rücken",
"B7": "Brustmuskulatur aktivieren",
"B8": "Den Durchblick haben",
"E2": "Wasser Elixir des Lernens",
"E4": "Frischer Wind",
"E10": "Ideales Brainfood",
"L1": "Wie lange konzentrieren?",
"L3": "Pausen = Zeitverschwendung?",
"L5": "Was tun in der Pause?",
"U3": "Richtige Haltung",
"S1": "Den Ton angeben",
"S3": "Das Rätseln...",
"H1": "Mal kurz eine Runde drehen"
}

0 comments on commit 330f868

Please sign in to comment.