diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b14faf..a3f8cc01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.7.5 (not yet released) * ADDED: Allow non persistent SQL connections, if configured (#1394) * ADDED: Show a button (that redirects to the `basepath` URL) inside the alert after a paste is deleted +* CHANGED: Tweaked page footer of the `bootstrap5` template (#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.7 diff --git a/css/bootstrap/privatebin.css b/css/bootstrap/privatebin.css index a7c0f188..74ea788a 100644 --- a/css/bootstrap/privatebin.css +++ b/css/bootstrap/privatebin.css @@ -87,8 +87,14 @@ body.loading { word-wrap: break-word; } -#preview { - margin-bottom: 10px; +#message { + height: 70dvh; +} + +@media ((max-width: 450px) and (max-height: 950px)) { + #message { + height: 55dvh; + } } #message, .replymessage { @@ -100,10 +106,6 @@ body.loading { margin: 5px 0; } -#comments, #comments button { - margin-bottom: 10px; -} - .comment { border-left: 1px solid #ccc; padding: 5px 0 5px 10px; diff --git a/css/bootstrap5/privatebin.css b/css/bootstrap5/privatebin.css index b14768a1..f486869d 100644 --- a/css/bootstrap5/privatebin.css +++ b/css/bootstrap5/privatebin.css @@ -32,12 +32,14 @@ word-wrap: break-word; } -#preview { - margin-bottom: 10px; +#message { + height: 70dvh; } -#message { - height: 70vh; +@media ((max-width: 450px) and (max-height: 950px)) { + #message { + height: 55dvh; + } } #message, .replymessage { @@ -45,17 +47,8 @@ resize: vertical; } -#nickname { - margin: 5px 0; -} - -#comments, #comments button { - margin-bottom: 10px; -} - .comment { border-left: 1px solid #ccc; - padding: 5px 0 5px 10px; transition: background-color 0.75s ease-out; } diff --git a/tpl/bootstrap5.php b/tpl/bootstrap5.php index 3d7ac62e..22909352 100644 --- a/tpl/bootstrap5.php +++ b/tpl/bootstrap5.php @@ -1,7 +1,7 @@ -> + class="h-100"> @@ -80,7 +80,7 @@ endif; - +