map.css 444 B

12345678910111213141516171819202122232425262728293031
  1. uni-map {
  2. width: 300px;
  3. height: 225px;
  4. display: inline-block;
  5. line-height: 0;
  6. overflow: hidden;
  7. position: relative;
  8. }
  9. uni-map[hidden] {
  10. display: none;
  11. }
  12. .uni-map-container {
  13. width: 100%;
  14. height: 100%;
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. overflow: hidden;
  19. background-color: transparent;
  20. }
  21. .uni-map-slot {
  22. position: absolute;
  23. top: 0;
  24. width: 100%;
  25. height: 100%;
  26. overflow: hidden;
  27. pointer-events: none;
  28. }