Keep corgi artwork fully visible in mini program banners
This commit is contained in:
@@ -9,22 +9,20 @@
|
||||
box-shadow: 0 5rpx 22rpx #174b3520;
|
||||
}
|
||||
.hero {
|
||||
height: 330rpx;
|
||||
min-height: 330rpx;
|
||||
background: #194f42;
|
||||
border-radius: 38rpx;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
padding: 35rpx;
|
||||
color: white;
|
||||
}
|
||||
.hero-copy {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 62%;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.hero-small {
|
||||
color: #abd9b8;
|
||||
@@ -46,11 +44,9 @@
|
||||
margin-top: 36rpx;
|
||||
}
|
||||
.hero image {
|
||||
position: absolute;
|
||||
width: 310rpx;
|
||||
height: 290rpx;
|
||||
right: -24rpx;
|
||||
bottom: 8rpx;
|
||||
width: 48%;
|
||||
height: 220rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.heading {
|
||||
margin-top: 8rpx;
|
||||
|
||||
Reference in New Issue
Block a user