diff --git a/src/main/resources/views/layouts/v4/home/index.html b/src/main/resources/views/layouts/v4/home/index.html index 0199a22..c3f2fbe 100644 --- a/src/main/resources/views/layouts/v4/home/index.html +++ b/src/main/resources/views/layouts/v4/home/index.html @@ -17,7 +17,7 @@ layout("/layouts/v4/baseLayout.html"){ .section-banner .banner-img img { width: 100%; height: 100%; - object-fit: cover; + /*object-fit: cover;*/ } .section-wrapper { diff --git a/src/main/resources/views/layouts/v4/home/stats.js b/src/main/resources/views/layouts/v4/home/stats.js index 45c41b7..18b8d92 100644 --- a/src/main/resources/views/layouts/v4/home/stats.js +++ b/src/main/resources/views/layouts/v4/home/stats.js @@ -130,6 +130,8 @@ const stats = { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; + width: 32%; + margin-left: 20px; } .stat-item { @@ -143,7 +145,7 @@ const stats = { cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.08); - width: 200px; + width: 100%; height: 90px; }