mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-01 08:13:10 +00:00
Fixing broken looking UI when no images present
This commit is contained in:
parent
8cb2fea9cd
commit
afdaab4e13
4 changed files with 68 additions and 48 deletions
|
@ -182,6 +182,10 @@
|
|||
|
||||
<?php
|
||||
if (empty($group['image_list']) && $_GET['mode'] != "edit" && !empty($_GET['id'])) {
|
||||
echo "<div class='info-text defaultFonts'>
|
||||
<h1>Nothing here!</h1>
|
||||
<p>There are no images in the group, add some!</p>
|
||||
</div>";
|
||||
echo "<div id='gallery' class='gallery-root defaultDecoration' style='display: none;'>";
|
||||
} else {
|
||||
echo "<div id='gallery' class='gallery-root defaultDecoration' >";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue