fix: make the app list in homepage have the same height (#1239)

* fix: make the app list in homepage have the same height

* fix: make the app list in homepage have the same height

* Update SingleCard.js

Co-authored-by: hsluoyz <hsluoyz@qq.com>
This commit is contained in:
jakiuncle 2022-10-25 19:27:24 +08:00 committed by GitHub
parent d4b587b93e
commit 2f72e6971b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,10 +62,10 @@ class SingleCard extends React.Component {
<Card
hoverable
cover={
<img alt="logo" src={logo} style={{width: "100%", objectFit: "scale-down"}} />
<img alt="logo" src={logo} style={{width: "100%", height: "200px", padding: "20px", objectFit: "scale-down"}} />
}
onClick={() => Setting.goToLinkSoft(this, silentSigninLink)}
style={isSingle ? {width: "320px"} : {width: "100%"}}
style={isSingle ? {width: "320px", height: "100%"} : {width: "100%", height: "100%"}}
>
<Meta title={title} description={desc} />
<br />