ba1614073b
- Recipes page action buttons reordered/restyled to push AI generation and batch cooking ahead of manual recipe creation. - Recipe detail page hides meal/drink pairing (doesn't make sense for a multi-dish batch session). - Print pages force light mode regardless of app theme (dark bg + hardcoded dark text was unreadable) and render sectioned steps + dishes/storage for batch-cook recipes. - Markdown export mirrors the same sectioned structure. - Cooking mode tags each step with which dish(es) it belongs to. - Meal planner: mealPlanEntries.batchDishId lets a slot point at one specific dish within a batch session; picking a batch-cook recipe now prompts for which dish, and the grid shows the dish name. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
16 lines
311 B
TypeScript
16 lines
311 B
TypeScript
export default function PrintLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<style>{`
|
|
html, html.dark, html:root {
|
|
color-scheme: light;
|
|
}
|
|
body {
|
|
background: #ffffff !important;
|
|
}
|
|
`}</style>
|
|
{children}
|
|
</>
|
|
);
|
|
}
|