Преглед на файлове

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;
   }
 }