[go: nahoru, domu]

Skip to content

Commit

Permalink
Optimize resizable panels height for domain and data products page co…
Browse files Browse the repository at this point in the history
…mponents
  • Loading branch information
Sachin-chaurasiya committed Jul 3, 2024
1 parent 90ca82d commit cff1e33
Show file tree
Hide file tree
Showing 5 changed files with 199 additions and 191 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@ const DataProductsDetailsPage = ({
key: DataProductTabs.ASSETS,
children: (
<ResizablePanels
className="domain-height-with-resizable-panel"
firstPanel={{
className: 'domain-resizable-panel-container',
children: (
<div className="p-x-md p-y-md">
<AssetsTabs
Expand Down Expand Up @@ -440,7 +442,8 @@ const DataProductsDetailsPage = ({
),
minWidth: 400,
flex: 0.13,
className: 'entity-summary-resizable-right-panel-container',
className:
'entity-summary-resizable-right-panel-container domain-resizable-panel-container',
}}
/>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ const DomainDetailsPage = ({
key: DomainTabs.ASSETS,
children: (
<ResizablePanels
className="domain-height-with-resizable-panel"
firstPanel={{
className: 'domain-resizable-panel-container',
children: (
<div className="p-x-md p-y-md">
<AssetsTabs
Expand Down Expand Up @@ -504,7 +506,8 @@ const DomainDetailsPage = ({
),
minWidth: 400,
flex: 0.13,
className: 'entity-summary-resizable-right-panel-container',
className:
'entity-summary-resizable-right-panel-container domain-resizable-panel-container',
}}
/>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ const DataProductsTab = forwardRef(

return (
<ResizablePanels
className="domain-height-with-resizable-panel"
firstPanel={{
className: 'domain-resizable-panel-container',
children: (
<div className="p-x-md p-y-md">
{dataProducts.data.map((dataProduct) => (
Expand Down Expand Up @@ -158,7 +160,8 @@ const DataProductsTab = forwardRef(
),
minWidth: 320,
flex: 0.13,
className: 'entity-summary-resizable-right-panel-container',
className:
'entity-summary-resizable-right-panel-container domain-resizable-panel-container',
}}
/>
);
Expand Down
Loading

0 comments on commit cff1e33

Please sign in to comment.