use recommended bootstrap sticky footer solutions

This commit is contained in:
El RIDO 2024-09-14 08:43:19 +02:00
parent 1a51c0973d
commit 57080eb7cc
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
5 changed files with 21 additions and 21 deletions

View file

@ -2,7 +2,7 @@
## 1.7.5 (not yet released)
* ADDED: Allow non persistent SQL connections, if configured (#1394)
* CHANGED: Various tweaks of the `bootstrap` & `bootstrap5` templates (#1392)
* CHANGED: Tweaked page footer of the `bootstrap` & `bootstrap5` templates (#1392)
* CHANGED: Simpler PostgreSQL table lookup query (#1361)
* CHANGED: SRI hashes are now configurable, no longer hardcoded in templates (#1365)
* CHANGED: Upgrading libraries to: DOMpurify 3.1.6

View file

@ -87,7 +87,7 @@ body.loading {
word-wrap: break-word;
}
#message, #placeholder, #plaintext, #prettymessage {
#message {
height: 70vh;
}

View file

@ -32,7 +32,7 @@
word-wrap: break-word;
}
#message, #placeholder, #plaintext, #prettymessage {
#message {
height: 70vh;
}

View file

@ -592,7 +592,7 @@ endif;
<span class="small"><?php echo I18n::_('In case this message never disappears please have a look at <a href="%s">this FAQ for information to troubleshoot</a>.', 'https://github.com/PrivateBin/PrivateBin/wiki/FAQ#why-does-the-loading-message-not-go-away'); ?></span>
</div>
</section>
<footer class="container">
<footer class="container navbar-fixed-bottom">
<div class="row">
<h4 class="col-md-5 col-xs-8"><?php echo I18n::_($NAME); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h4>
<p class="col-md-1 col-xs-4 text-center"><?php echo $VERSION; ?></p>

View file

@ -1,7 +1,7 @@
<?php
use PrivateBin\I18n;
?><!DOCTYPE html>
<html lang="<?php echo I18n::getLanguage(); ?>"<?php echo I18n::isRtl() ? ' dir="rtl"' : ''; ?>>
<html lang="<?php echo I18n::getLanguage(); ?>"<?php echo I18n::isRtl() ? ' dir="rtl"' : ''; ?> class="h-100">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content="<?php echo I18n::encode($CSPHEADER); ?>">
@ -80,7 +80,7 @@ endif;
<meta property="og:image:width" content="180" />
<meta property="og:image:height" content="180" />
</head>
<body role="document" data-compression="<?php echo rawurlencode($COMPRESSION); ?>">
<body role="document" data-compression="<?php echo rawurlencode($COMPRESSION); ?>" class="d-flex flex-column h-100">
<div id="passwordmodal" tabindex="-1" class="modal fade" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
@ -446,7 +446,8 @@ endif;
<span class="small"><?php echo I18n::_('In case this message never disappears please have a look at <a href="%s">this FAQ for information to troubleshoot</a>.', 'https://github.com/PrivateBin/PrivateBin/wiki/FAQ#why-does-the-loading-message-not-go-away'); ?></span>
</div>
</section>
<footer class="container-fluid">
</main>
<footer class="container-fluid mt-auto">
<div class="row">
<h5 class="col-md-5 col-xs-8"><?php echo I18n::_($NAME); ?> <small>- <?php echo I18n::_('Because ignorance is bliss'); ?></small></h5>
<p class="col-md-1 col-xs-4 text-center"><?php echo $VERSION; ?></p>
@ -461,7 +462,6 @@ endif;
</p>
</div>
</footer>
</main>
<?php
if ($DISCUSSION) :
?>