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

Merge branch '197-min-263-long-map-names' into 'development'

Resolve "[MIN-263] Long map names"

Closes #197

See merge request !219
parents 70597315 e2c507fb
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 #93550 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