@geolonia/embed 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geolonia/embed",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Geolonia embed JS API",
5
5
  "main": "dist/embed.js",
6
6
  "types": "src/embed.d.ts",
package/src/style.css CHANGED
@@ -109,3 +109,27 @@
109
109
  background-position: center center;
110
110
  background-size: cover;
111
111
  }
112
+
113
+ /* CSS for Attribution */
114
+ /* Fix: https://github.com/geolonia/embed/issues/291 */
115
+ .mapboxgl-map,
116
+ .maplibregl-map {
117
+ display: block!important;
118
+ }
119
+
120
+ .maplibregl-ctrl-attrib-inner.mapboxgl-ctrl-attrib-inner {
121
+ display: block!important;
122
+ }
123
+
124
+ .mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner,
125
+ .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner {
126
+ display: none!important;
127
+ }
128
+
129
+ .mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner,
130
+ .mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,
131
+ .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner,
132
+ .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button {
133
+ display: block!important;
134
+ }
135
+ /* End: CSS for Attribution */