Fix POS layout overflow by using h-full instead of h-screen
POSLayout was using h-screen which made it 100vh tall, but it's nested inside a flex container that already accounts for POSHeader height. Changed to h-full so it properly fills the available space. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -199,7 +199,7 @@ const POSLayout: React.FC<POSLayoutProps> = ({ children }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-screen flex flex-col bg-gray-50">
|
<div className="h-full flex flex-col bg-gray-50">
|
||||||
{/* Top Bar */}
|
{/* Top Bar */}
|
||||||
<header className="bg-white border-b border-gray-200 px-4 py-3 flex items-center justify-between shadow-sm">
|
<header className="bg-white border-b border-gray-200 px-4 py-3 flex items-center justify-between shadow-sm">
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user