Merge pull request #10104 from openlayers/attribution_font_size

Remove font sizing from the attribution control
This commit is contained in:
Frédéric Junod
2019-10-14 15:28:02 +02:00
committed by GitHub
2 changed files with 1 additions and 10 deletions

View File

@@ -74,13 +74,9 @@ ol.inline>li {
.ol-attribution.ol-logo-only,
.ol-attribution.ol-uncollapsible {
max-width: calc(100% - 3em);
height: 1.5em;
}
.ol-attribution ul {
font-size: 1rem;
}
.ol-control button, .ol-attribution, .ol-scale-line-inner {
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
font-size: 14px;
}
.iframe-info iframe {
width: 100%;

View File

@@ -182,15 +182,12 @@
.ol-attribution ul {
margin: 0;
padding: 0 .5em;
font-size: .7rem;
line-height: 1.375em;
color: #000;
text-shadow: 0 0 2px #fff;
}
.ol-attribution li {
display: inline;
list-style: none;
line-height: inherit;
}
.ol-attribution li:not(:last-child):after {
content: " ";
@@ -213,8 +210,6 @@
bottom: 0;
right: 0;
border-radius: 4px 0 0;
height: 1.1em;
line-height: 1em;
}
.ol-attribution.ol-uncollapsible img {
margin-top: -.2em;