mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-02 16:33:13 +00:00
Center the text instead of pushing it to the left
This commit is contained in:
parent
59de59024c
commit
d2f0bfec01
2 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (empty($group['image_list']) && $_GET['mode'] != "edit" && !empty($_GET['id'])) {
|
if (empty($group['image_list']) && $_GET['mode'] != "edit" && !empty($_GET['id'])) {
|
||||||
echo "<div class='info-text defaultFonts'>
|
echo "<div class='info-text defaultFonts' style='text-align: center !important;'>
|
||||||
<h1>Nothing here!</h1>
|
<h1>Nothing here!</h1>
|
||||||
<p>There are no images in the group, add some!</p>
|
<p>There are no images in the group, add some!</p>
|
||||||
</div>";
|
</div>";
|
||||||
|
@ -317,7 +317,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$('body').append("<div class='info-text defaultFonts'><h1>There are no groups yet</h1><p>Login to make a group!</p></div>");
|
$('body').append("<div class='info-text defaultFonts' style='text-align: center !important;'><h1>There are no groups yet</h1><p>Login to make a group!</p></div>");
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@
|
||||||
|
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
} else {
|
} else {
|
||||||
echo "<div class='info-text defaultFonts'>
|
echo "<div class='info-text defaultFonts' style='text-align: center !important;'>
|
||||||
<h1>Nothing here!</h1>
|
<h1>Nothing here!</h1>
|
||||||
<p>There are no images in the gallery, upload some!</p>
|
<p>There are no images in the gallery, upload some!</p>
|
||||||
</div>";
|
</div>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue