mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-26 15:33:50 +00:00
Make sure container has dimensions the first time
This commit is contained in:
@@ -1873,6 +1873,10 @@ input[type=number] {
|
||||
position: relative;
|
||||
height: 370px;
|
||||
}
|
||||
/* zero width space, so container takes up space */
|
||||
.form-field-restrictions .restriction-container:after {
|
||||
content: '\200b';
|
||||
}
|
||||
|
||||
.form-field-restrictions svg.surface {
|
||||
width: 100%;
|
||||
|
||||
@@ -240,7 +240,7 @@ export function uiFieldRestrictions(field, context) {
|
||||
var filter = utilFunctor(true);
|
||||
var projection = geoRawMercator();
|
||||
|
||||
var d = utilGetDimensions(_container);
|
||||
var d = utilGetDimensions(selection);
|
||||
var c = geoVecScale(d, 0.5);
|
||||
var z = 22;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user