diff --git a/client/src/App.scss b/client/src/App.scss index c0fecca..1a940d8 100644 --- a/client/src/App.scss +++ b/client/src/App.scss @@ -315,11 +315,20 @@ body { border-bottom: none; cursor: pointer; transition: var(--luncher-transition); + display: flex; + align-items: center; + gap: 8px; &:hover { background: var(--luncher-primary-hover); } + .restaurant-header-content { + display: flex; + flex-direction: column; + flex: 1; + } + h3 { margin: 0; font-size: 1.1rem; @@ -338,7 +347,6 @@ body { .restaurant-warning { color: #f59e0b; cursor: help; - margin-left: 8px; font-size: 1rem; } } diff --git a/client/src/App.tsx b/client/src/App.tsx index a274b1f..b6b4279 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -489,10 +489,12 @@ function App() { return
doAddClickFoodChoice(location)}> -

- {getLunchChoiceName(location)} -

- {menu?.lastUpdate && Aktualizace: {getHumanDateTime(new Date(menu.lastUpdate))}} +
+

+ {getLunchChoiceName(location)} +

+ {menu?.lastUpdate && Aktualizace: {getHumanDateTime(new Date(menu.lastUpdate))}} +
{menu?.warnings && menu.warnings.length > 0 && (