Skip to content
Snippets Groups Projects
Commit 930ce2b0 authored by Tadeusz Miesiąc's avatar Tadeusz Miesiąc
Browse files

fix(submaps drawer): fixed height of component

parent 0dda20f3
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!46feat(submaps drawer component): submaps drawer component
Pipeline #80433 passed
...@@ -7,9 +7,9 @@ export const SubmapsDrawer = (): JSX.Element => { ...@@ -7,9 +7,9 @@ export const SubmapsDrawer = (): JSX.Element => {
const models = useAppSelector(modelsDataSelector); const models = useAppSelector(modelsDataSelector);
return ( return (
<div data-testid="submap-drawer"> <div data-testid="submap-drawer" className="h-full max-h-full">
<DrawerHeading title="Submaps" /> <DrawerHeading title="Submaps" />
<ul className="overflow-y-auto px-6"> <ul className="h-[calc(100%-93px)] max-h-[calc(100%-93px)] overflow-y-auto px-6">
{models.map(model => ( {models.map(model => (
<SubmpamItem key={model.idObject} modelName={model.name} /> <SubmpamItem key={model.idObject} modelName={model.name} />
))} ))}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment