Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map caption: too much line spacing in long map name #1853

Closed
dawansv opened this issue May 22, 2024 · 0 comments
Closed

Map caption: too much line spacing in long map name #1853

dawansv opened this issue May 22, 2024 · 0 comments
Labels

Comments

@dawansv
Copy link

dawansv commented May 22, 2024

Describe the bug
In the map caption, there is too much spacing between the lines when using a longer map name that is displayed on several lines. Also the "by ..." statement appears shifted as the (i) icon is no longer right above it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://umap.openstreetmap.fr/en/map/membres-potentielles-des-groupes-dans-les-villages_1035111
  2. Notice strange line spacing in caption

Expected behavior
More pleasing spacing and alignment is expected, as pictured at the bottom of this report.

Screenshots
image

Desktop (please complete the following information):

  • OS: Win11
  • Edge
  • Version 125.0.2535.51

Additional context
The line height seems to be caused by
.panel h3 { line-height: 3; }
On the my preferred below, i am using 1.75

The "by...." shifted to the right appears caused by
.umap-caption .umap-map-owner { padding-left: 31px; }
On the corrected sample below, i am removing the padding-left and adding margin-top of 10px

I also don't feel like the (!) icon really adds much as it shifts the alignment of the title.

My preferred layout:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant