Преглед изворни кода

fixed monitor map image overflow width when screen is large

nikogu пре 8 година
родитељ
комит
1bd90711e1
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/routes/Dashboard/Monitor.less

+ 4 - 2
src/routes/Dashboard/Monitor.less

@@ -4,9 +4,11 @@
 .mapChart {
   padding-top: 24px;
   height: 457px;
+  text-align: center;
   img {
-    width: 100%;
-    max-height: 457px;
+    display: inline-block;
+    max-width: 100%;
+    max-height: 437px;
   }
 }