diff --git a/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue b/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue index a4179686..cca0c4a1 100644 --- a/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue +++ b/src/views/chart/ContentCharts/components/ChartsItemBox/index.vue @@ -222,6 +222,7 @@ $halfCenterHeight: 50px; height: 100px; max-width: 140px; border-radius: 6px; + object-fit: contain; @extend .go-transition; } } @@ -289,6 +290,7 @@ $halfCenterHeight: 50px; height: $halfCenterHeight; width: auto; transition: all 0.2s; + object-fit: contain; } } .list-bottom {