From ead4240173c989bd6efd5fd18063a9104e4e4606 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 28 Jun 2024 20:25:00 +0200 Subject: [PATCH] AlbumButtonBox: un-float album_button_box --- public/css/default.css | 2 +- templates/AlbumButtonBox.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index 03f25f12..e9ba3ef7 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -366,8 +366,8 @@ div.polaroid a { /* Album button box ---------------------*/ .album_button_box { - float: right; display: flex; + justify-content: flex-end; margin-bottom: 3rem; } .album_button_box > a, diff --git a/templates/AlbumButtonBox.php b/templates/AlbumButtonBox.php index 7626fa3b..1ddcf496 100644 --- a/templates/AlbumButtonBox.php +++ b/templates/AlbumButtonBox.php @@ -22,7 +22,7 @@ class AlbumButtonBox extends Template public function html_main() { echo ' -
'; +
'; foreach ($this->buttons as $button) echo '