@@ -1,6 +1,17 @@
+.spinnclass {
+ height: calc(100% - 285px);
+}
+
+:global {
+ .ant-spin-container {
+ height: 100%;
+ }
.mapwrap {
position: relative;
- height: calc(100% - 285px);
+ // height: calc(100% - 285px);
overflow: hidden;
.mapControl {
position: absolute;
@@ -260,7 +260,7 @@ const Environment: React.FC = () => {
})}
</div>
- <Spin spinning={loading}>
+ <Spin spinning={loading} wrapperClassName={mapstyles.spinnclass}>
<Map
type={'enviroment'}
mapList={mapCombineList}
@@ -371,7 +371,7 @@ const Environment: React.FC = () => {
)}
{mapCombineList.length > 0 && (
@@ -182,7 +182,7 @@ const Runtime: React.FC = () => {
<div className={mapstyles.name}>Jozy Zone</div>
</div> */}
mapSize={mapSize}