Fix: #12029 Long CRS name overflows in dropdown selector in CRS Selector#12030
Fix: #12029 Long CRS name overflows in dropdown selector in CRS Selector#12030tdipisa merged 3 commits intogeosolutions-it:masterfrom
Conversation
…or in CRS selector plugin
| button.dropdown-toggle { | ||
| padding: 0; | ||
| text-align: left; | ||
| max-width: 4.5rem; |
There was a problem hiding this comment.
Could we try with
width: fit-content;
min-width: 4rem;
and remove max-width?
There was a problem hiding this comment.
@allyoucanmap I tried with the above style , also here is the short recording on how it looks now after the change.
crs_long_name.mp4
|
@ElenaGallo please test in DEV and let us know if we can backport. |
|
Successfully created backport PR for |
…tor (#12030) (#12049) * Fix: #12029 Long CRS name overflows in dropdown selector in CRS selector plugin * fix maxwidth to allow display of long CRS name * Added width to fit the content for crs name with min width of 4 rem (cherry picked from commit 8d1bcf4) Co-authored-by: Anup Dahal <adahal39@gmail.com>
|
@anup39 When I select the customized CRS, the gray error page opens crs.mp4Use this context: https://dev-mapstore.geosolutionsgroup.com/mapstore/#/context/bvnb |
|
@ElenaGallo @tdipisa It seems like, I donot have permission to access the context you have shared. Can you provide me access to look into. Thanks |
@anup39 I have granted permissions to the |
@ElenaGallo @tdipisa After checking ,the error is due to the fact https://github.com/geosolutions-it/mapstore-datadir/blob/DEV/configs/localConfig.json.patch I think this is a different issue to be opened, and we need to check projectionDefs available before switching the projection. |
|
@anup39 you can raise a PR to the related repo for both DEV and QA branches: |
|
@ElenaGallo @tdipisa After updating the localconfig https://github.com/geosolutions-it/mapstore-datadir/issues/54 , i tested in DEV and now it should work as expected . |
|
@anup39 opening this context (https://dev-mapstore.geosolutionsgroup.com/mapstore/#/context/bvnb |


Description
This PR fix long CRS name overflows in the CRS Selector.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#12029
What is the new behavior?
CRS name should be ellipsis.
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information