Explorar o código

Fix float display

Jaime Marquínez Ferrándiz %!s(int64=12) %!d(string=hai) anos
pai
achega
633f6f9b39
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 1 1
      index.php
  2. 5 0
      style.css

+ 1 - 1
index.php

@@ -24,7 +24,7 @@ echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl.exe">youtu
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
 echo '</div>';
 
-echo '<ul>';
+echo '<ul class="all-versions">';
 foreach ($versions as $version) {
     echo '<li><a href="downloads/' . htmlspecialchars($version) . '">' . htmlspecialchars($version) . '</a></li>';
 }

+ 5 - 0
style.css

@@ -73,6 +73,7 @@ hr {
 	margin-top: 10ex;
 	text-align: center;
 	font-size: x-small;
+	clear: both;
 }
 h1 {
 	font-size: x-large;
@@ -145,3 +146,7 @@ tt {
     background-color: #448888;
     border: 2px solid #008888;
 }
+
+.all-versions {
+	float: left;
+}