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

CSS feedback #112

Open
seyfro opened this issue Apr 25, 2016 · 0 comments
Open

CSS feedback #112

seyfro opened this issue Apr 25, 2016 · 0 comments
Labels

Comments

@seyfro
Copy link

seyfro commented Apr 25, 2016

Hi Rob,

I would suggest changing the following CSS definition from

.leaflet-control-minimap {
    border:solid rgba(255, 255, 255, 1.0) 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    border-radius: 3px;
    background: #f8f8f9;
    transition: all .6s;
}

to

.leaflet-control-minimap {
    border:solid rgba(255, 255, 255, 1.0) 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    border-radius: 3px;
    background: #f8f8f9;
    transition: all .6s;
    box-sizing:unset;
}

Several users reported issues with minimap icon not being displayed correctly as their theme´s CSS was overriding the minimap CSS, see the following example:
before

Add box-sizing:unset; as stated above, fixes this issue:
after
best,

Robert

@robpvn robpvn added the bug label Apr 26, 2016
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

2 participants