diff --git a/css/main.css b/css/main.css index 19b915f..d638a89 100644 --- a/css/main.css +++ b/css/main.css @@ -300,6 +300,7 @@ nav .btn { width: 100%; max-height: 50vh; height: auto; + min-height: 30vh; display: flex; background-color: rgba(21, 21, 21, 0.7333333333); -webkit-backdrop-filter: blur(8px); @@ -314,7 +315,7 @@ nav .btn { } } .image { - margin: 0 auto; + margin: auto; max-width: 100%; width: auto; max-height: inherit; diff --git a/css/scss/_body.scss b/css/scss/_body.scss index 5fd8f76..40cf3e8 100644 --- a/css/scss/_body.scss +++ b/css/scss/_body.scss @@ -175,6 +175,7 @@ width: 100%; max-height: 50vh; height: auto; + min-height: 30vh; display: flex; @@ -193,7 +194,7 @@ } .image { - margin: 0 auto; + margin: auto; max-width: 100%; width: auto; diff --git a/image.php b/image.php index 8d0c91f..491e938 100644 --- a/image.php +++ b/image.php @@ -163,7 +163,7 @@
ID: ".$image['id']."
"; - // Image Upload date - echo "Last updated: +0 ".$image['upload']."
"; + // Last time image was updated + $update_time = new DateTime($image['upload']); + echo "Last updated: ".$update_time->format('d/m/Y H:i:s T')."
"; ?> +