Skip to content

Commit 764fb49

Browse files
author
Joscha Krug
committed
Height limit
1 parent 054803a commit 764fb49

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<!-- Main container -->
1919
<div class="page-container"><!-- Hero Bloc -->
2020
<div id="hero-bloc" class="bloc hero">
21-
<img src="what-is-scale.jpg" style="width:100%">
21+
<img src="what-is-scale.jpg" style="-max-width:100%;max-height:100%;">
2222
</div>
2323
<!-- Hero Bloc END -->
2424

style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,8 @@ nav .caret{
264264

265265
.hero{
266266
padding:0;
267-
position:relative;
268-
display:inline-table;
269267
background:#00394B;
268+
text-align:center;
270269
}
271270
.hero-nav{
272271
position:absolute;

0 commit comments

Comments
 (0)