From 8b97bc5fdadaed82c9626d5fccde056f995456e6 Mon Sep 17 00:00:00 2001 From: Jakub Neumann Date: Fri, 12 Apr 2024 10:34:29 +0200 Subject: [PATCH] feat(playground): better `Layout` overflow styling --- packages/playground/admin/lib/components/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/admin/lib/components/layout.tsx b/packages/playground/admin/lib/components/layout.tsx index e9405715e..4d43d44a2 100644 --- a/packages/playground/admin/lib/components/layout.tsx +++ b/packages/playground/admin/lib/components/layout.tsx @@ -9,7 +9,7 @@ import { LogoutTrigger } from '@contember/react-identity' import { dict } from '../dict' import { useCurrentRequest } from '@contember/interface' -const LayoutBodyUI = uic('div', { baseClass: 'bg-gray-50 h-full min-h-screen relative py-4' }) +const LayoutBodyUI = uic('div', { baseClass: 'bg-gray-50 h-full min-h-screen relative py-4 pl-[calc(100vw-100%)]' }) const LayoutMaxWidthUI = uic('div', { baseClass: 'max-w-[100rem] mx-auto' }) const LayoutBoxUI = uic('div', { baseClass: 'rounded-xl shadow-lg border bg-white gap-1 flex flex-col lg:flex-row mt-4 relative min-h-[calc(100vh-10rem)]' })