minor js bug fixes
All checks were successful
publish / publish (push) Successful in 26s

This commit is contained in:
Jannik Menzel 2025-06-08 13:33:16 +02:00
parent 23051eecf0
commit 45ad243706
2 changed files with 16 additions and 0 deletions

View file

@ -86,6 +86,13 @@ p {
z-index: 1000; z-index: 1000;
} }
.nav-item {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.navbar-brand { .navbar-brand {
color: var(--color-text); color: var(--color-text);
font-family: 'Exo 2', sans-serif; font-family: 'Exo 2', sans-serif;
@ -632,6 +639,14 @@ footer {
border-radius: 30px; border-radius: 30px;
box-shadow: 0 4px 0 0 var(--color-text); box-shadow: 0 4px 0 0 var(--color-text);
margin: 0.4rem 0 0.4rem 0; margin: 0.4rem 0 0.4rem 0;
padding: 0.5rem 1rem;
cursor: pointer;
}
.nav-item .nav-link {
display: block;
width: 100%;
height: 100%;
} }
.nav-item:hover, .nav-item:active { .nav-item:hover, .nav-item:active {

View file

@ -61,6 +61,7 @@ window.toggleDetails = function (element) {
function renderFeedEntries(data) { function renderFeedEntries(data) {
const container = document.getElementById('feed'); const container = document.getElementById('feed');
if (!container) return;
container.innerHTML = ''; container.innerHTML = '';
const isInFeedSection = container.closest('.feed-section') !== null; const isInFeedSection = container.closest('.feed-section') !== null;
let maxItems; let maxItems;