diff --git a/src/pages/index.js b/src/pages/index.js index 79e09d0..0cb1509 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -44,7 +44,12 @@ function HomepageHeader() { : require('../../static/img/ivorysql-how-zh.jpg').default } alt="IvorySQL Banner" - style={{width: '100%', cursor: 'pointer'}} + style={{ + width: '100%', + cursor: 'pointer', + objectFit: 'cover', + height: '500px', + }} /> diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 3429a29..afdb33b 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -13,7 +13,7 @@ /* 圣诞 */ /* background-color: #0e2956; */ - height: 502px; + height: 500px; overflow: hidden; } .heroBanner_2 { @@ -100,7 +100,7 @@ } .indexImgPhone{ display: none; - height: 501px; + height: 500px; margin: auto; } .indexImgbugphone{