More work on the layout

This commit is contained in:
Gregory Schier
2023-03-04 21:51:17 -08:00
parent 7152e1845e
commit ae24cd4939
9 changed files with 198 additions and 147 deletions

View File

@@ -1,4 +1,3 @@
import classnames from 'classnames';
import type { ReactNode } from 'react';
export interface LayoutPaneProps {
@@ -7,9 +6,10 @@ export interface LayoutPaneProps {
}
export function LayoutPane({ className, children }: LayoutPaneProps) {
return (
<div className={classnames(className, 'w-full h-full p-2')} data-tauri-drag-region>
<div className={classnames('w-full h-full bg-gray-50/50 rounded-lg')}>{children}</div>
</div>
);
return <div className={className}>{children}</div>;
// return (
// <div className={classnames(className, 'w-full h-full p-2')} data-tauri-drag-region>
// <div className={classnames('w-full h-full bg-gray-50/50 rounded-lg')}>{children}</div>
// </div>
// );
}