diff --git a/public/css/default.css b/public/css/default.css index 541f3e6..e88e043 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -401,17 +401,15 @@ a#previous_photo:hover, a#next_photo:hover { color: #000; } #previous_photo { + border-top-right-radius: 0.5rem; + border-bottom-right-radius: 0.5rem; left: 0; } -#previous_photo:before { - content: '←'; -} #next_photo { + border-top-left-radius: 0.5rem; + border-bottom-left-radius: 0.5rem; right: 0; } -#next_photo:before { - content: '→'; -} #sub_photo h2, #sub_photo h3, #photo_exif_box h3, #user_actions_box h3 { font: 600 20px/30px "Open Sans", sans-serif; diff --git a/templates/PhotoPage.php b/templates/PhotoPage.php index 1c0bd5c..772a4f9 100644 --- a/templates/PhotoPage.php +++ b/templates/PhotoPage.php @@ -84,17 +84,17 @@ class PhotoPage extends Template { if ($this->previous_photo_url) echo ' - Previous photo'; + '; else echo ' - Previous photo'; + '; if ($this->next_photo_url) echo ' - Next photo'; + '; else echo ' - Next photo'; + '; } private function photoMeta()