Center the text instead of pushing it to the left

This commit is contained in:
Michał 2022-09-29 13:43:08 +00:00
parent 59de59024c
commit d2f0bfec01
2 changed files with 3 additions and 3 deletions

View file

@ -182,7 +182,7 @@
<?php
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>
<p>There are no images in the group, add some!</p>
</div>";
@ -317,7 +317,7 @@
}
</style>
<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>
<?php
}

View file

@ -106,7 +106,7 @@
echo "</div>";
} else {
echo "<div class='info-text defaultFonts'>
echo "<div class='info-text defaultFonts' style='text-align: center !important;'>
<h1>Nothing here!</h1>
<p>There are no images in the gallery, upload some!</p>
</div>";