Skip to content
Snippets Groups Projects
Commit fcd6c5de572d authored by David Harper's avatar David Harper
Browse files

Make carousel images correct aspect ratio

issue7848
review45811002
parent c6a6ae2bbe9c
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="{{ url_for('static', filename='images/slide1.jpg') }}" width="1920" height="500" alt="First slide">
<img class="d-block w-100 img-fluid" src="{{ url_for('static', filename='images/slide1.jpg') }}" width="1920" height="500" alt="First slide">
<div class="carousel-caption">
<div class="container">
<h2>
......@@ -26,7 +26,7 @@
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="{{ url_for('static', filename='images/slide2.jpg') }}" width="1920" height="500" alt="Second Slide">
<img class="d-block w-100 img-fluid" src="{{ url_for('static', filename='images/slide2.jpg') }}" width="1920" height="500" alt="Second Slide">
<div class="carousel-caption">
<div class="container">
<h2>
......@@ -40,7 +40,7 @@
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="{{ url_for('static', filename='images/slide3.jpg') }}" width="1920" height="500" alt="Third slide">
<img class="d-block w-100 img-fluid" src="{{ url_for('static', filename='images/slide3.jpg') }}" width="1920" height="500" alt="Third slide">
<div class="carousel-caption">
<div class="container">
<h2>
......@@ -54,7 +54,7 @@
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="{{ url_for('static', filename='images/slide4.jpg') }}" width="1920" height="500" alt="Forth slide">
<img class="d-block w-100 img-fluid" src="{{ url_for('static', filename='images/slide4.jpg') }}" width="1920" height="500" alt="Forth slide">
<div class="carousel-caption">
<div class="container">
<h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment