mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-20 08:34:18 +01:00
Refactor and improve layout resizing
This commit is contained in:
@@ -125,9 +125,9 @@ export const PairEditor = memo(function PairEditor({
|
||||
className={classnames(
|
||||
className,
|
||||
'@container',
|
||||
'pb-2 grid',
|
||||
// NOTE: Add padding to top so overflow doesn't hide drop marker
|
||||
'pt-1 -my-1',
|
||||
'overflow-auto max-h-full pb-2 grid',
|
||||
// Move over the width of the drag handle
|
||||
'-ml-3',
|
||||
)}
|
||||
>
|
||||
{pairs.map((p, i) => {
|
||||
|
||||
@@ -127,7 +127,7 @@ export const TabContent = memo(function TabContent({
|
||||
<div
|
||||
tabIndex={-1}
|
||||
data-tab={value}
|
||||
className={classnames(className, 'tab-content', 'w-full h-full overflow-auto')}
|
||||
className={classnames(className, 'tab-content', 'w-full h-full')}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user