col-browser 2.2.3 → 2.2.4

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/umd/main.css CHANGED
@@ -125,3 +125,25 @@ td.ant-table-cell {
125
125
  margin-right: -34px;
126
126
  }
127
127
  }
128
+
129
+ /* Fullscreen: MapLibre's FullscreenControl expands the whole wrapper (so the
130
+ legend and layer control come along). Make the map canvas fill it — its
131
+ inline height:360px would otherwise leave the map a thin strip at the top.
132
+ The prefixed selector is kept in its own rule: a browser that doesn't
133
+ recognise one selector would drop the entire comma-separated list. */
134
+ .col-distributions-map:fullscreen {
135
+ width: 100%;
136
+ height: 100%;
137
+ background: #fff;
138
+ }
139
+ .col-distributions-map:fullscreen .col-distributions-map__canvas {
140
+ height: 100% !important;
141
+ }
142
+ .col-distributions-map:-webkit-full-screen {
143
+ width: 100%;
144
+ height: 100%;
145
+ background: #fff;
146
+ }
147
+ .col-distributions-map:-webkit-full-screen .col-distributions-map__canvas {
148
+ height: 100% !important;
149
+ }