We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b284e1a commit d59323cCopy full SHA for d59323c
1 file changed
assets/css/style.css
@@ -153,17 +153,18 @@ body {
153
154
.hero-image {
155
width: 100%;
156
- height: 300px;
+ max-height: 300px;
157
overflow: hidden;
158
border-radius: var(--border-radius);
159
- box-shadow: var(--shadow);
160
margin-bottom: 30px;
+ line-height: 0; /* remove any inline-gap around the banner image */
161
}
162
163
.hero-image img {
164
165
- height: 100%;
+ height: auto;
166
object-fit: cover;
167
+ display: block; /* remove bottom inline gap so banner fits flush */
168
169
170
.hero-content {
@@ -1215,10 +1216,6 @@ body {
1215
1216
border-left: 4px solid var(--primary-color);
1217
1218
- .hero-image {
1219
- height: 200px;
1220
- }
1221
-
1222
.hero-content h1 {
1223
font-size: 32px;
1224
0 commit comments