Skip to content
Snippets Groups Projects
Commit e2c507fb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '260-min-327-cannot-browse-asthma-map' into 197-min-263-long-map-names

parents 70597315 7f94c9aa
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...,!219Resolve "[MIN-263] Long map names"
Pipeline #93546 passed
......@@ -72,7 +72,8 @@ export const MapNavigation = (): JSX.Element => {
variantStyles={isActive(map.modelId) ? 'secondary' : 'ghost'}
onClick={(): void => onSubmapTabClick(map)}
>
{map.modelName}
<span className="max-w-[256px] truncate">{map.modelName}</span>
{isNotMainMap(map.modelName) && (
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
<div onClick={(event): void => onCloseSubmap(event, map)} data-testid="close-icon">
......
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