瀏覽代碼

merge pr #70

tags/2.6.0
Caven Chen 4 年之前
父節點
當前提交
d9bf2614c2
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      modules/themes/mapswitch.scss
  2. 1
    1
      modules/widget/type/MapSwitch.js

+ 1
- 1
modules/themes/mapswitch.scss 查看文件

@@ -39,7 +39,7 @@
}
}
&:last-child {
margin-right: 0px !important;
margin-right: 0 !important;
}
}
}

+ 1
- 1
modules/widget/type/MapSwitch.js 查看文件

@@ -45,7 +45,7 @@ class MapSwitch extends Widget {
let width = 80
let rightMargin = 5
if (self._cache.length > 0) {
width = self._cache.length * (width+rightMargin) - rightMargin
width = self._cache.length * (width + rightMargin) - rightMargin
}
this._wrapper.style.width = `${width}px`
}

Loading…
取消
儲存