raintee-maputils 1.0.33 → 1.0.34

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/dist/index.js CHANGED
@@ -6999,11 +6999,14 @@ class RasterLayerControl {
6999
6999
  // 图层列表容器(原 _layerListContainer)
7000
7000
  this._layerListContainer = document.createElement('div');
7001
7001
  this._layerListContainer.style.cssText = `
7002
- width: 100%;
7003
- display: flex;
7004
- flex-direction: column;
7005
- gap: 4px;
7006
- `;
7002
+ width: 100%;
7003
+ max-height: 60vh;
7004
+ display: flex;
7005
+ flex-direction: column;
7006
+ gap: 4px;
7007
+ overflow-y: auto;
7008
+ overflow-x: hidden;
7009
+ `;
7007
7010
  this._dialog.appendChild(this._layerListContainer);
7008
7011
 
7009
7012
  // // 关闭按钮(可选增强)