[geany/www.geany.org] 43ef07: Ensure a fixed height for the carousel images to avoid content jumping

Enrico Tröger git-noreply at xxxxx
Mon May 20 22:07:03 UTC 2019


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Mon, 20 May 2019 22:07:03 UTC
Commit:      43ef0725772726a18ac95228a78e371cf644425e
             https://github.com/geany/www.geany.org/commit/43ef0725772726a18ac95228a78e371cf644425e

Log Message:
-----------
Ensure a fixed height for the carousel images to avoid content jumping


Modified Paths:
--------------
    geany/templates/home.html

Modified: geany/templates/home.html
7 lines changed, 6 insertions(+), 1 deletions(-)
===================================================================
@@ -25,6 +25,11 @@
 		background-image: none;
 		color: inherit;
 	}
+	@media only screen and (min-width : 768px) {
+		.thumbnail-box {
+			height: 400px;
+		}
+	}
 </style>
 {% endblock %}
 
@@ -66,7 +71,7 @@ <h1>Geany - The Flyweight IDE</h1>
 						<li data-target="#screenshot-carousel" data-slide-to="4"></li>
 					  </ol>
 				  </div>
-				  <div class="carousel-inner">
+				  <div class="carousel-inner thumbnail-box">
 					<div class="active item">
 						<a href="{% url "page" "documentation/screenshots" %}">
 						<img



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list