Skip to content
Snippets Groups Projects

feat(submaps drawer component): submaps drawer component

Merged Tadeusz Miesiąc requested to merge feature/MIN-121-list-of-available-submaps into development
2 unresolved threads
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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} />
))}
))}
Loading