From user feedback, the scrolling navigation bar would cause problems with
readability, especially in larger font views. This keeps the navigation bar
pinned to the top, until we can find a way to more easily handle this.
In the context of pgarchives, this is one bit of "future-proofing" as we do not
currently show the shout box in pgarchives, but may do so in the near future.
<div class="row justify-content-md-center">
<div class="col">
<!-- Header -->
- <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
+ <nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand p-0" href="/">
<img class="logo" src="/media-archives/img/about/press/elephant.png" alt="PostgreSQL Elephant Logo">
</a>
background-color: #336791;
font-weight: 600;
padding-bottom: 0.2rem;
+ padding-top: 0.2rem;
}
.pg-shout-box a {
}
}
-@media (min-width: 992px) {
- .navbar.compressed {
- padding: 0 10px;
- }
-
- .pg-shout-box {
- padding-top: 3.7rem;
- }
-}
-
@media (max-width: 992px) {
.archive {
margin-top: 2rem;
width: 1rem;
height: 1.5rem;
}
-
- .pg-shout-box {
- padding-top: 2.8rem;
- }
}
@media (max-width: 768px) {
-$(document).ready(function() {
- $(window).on("scroll", function() {
- $(".navbar").toggleClass("compressed", $(window).scrollTop() >= 20);
- });
-});
-
-
$(function(){
/* Callback from main message view when a message is picked in dropdown */
$('#thread_select').change(function(e) {