Menüanzeigebug behoben
This commit is contained in:
@@ -72,7 +72,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
// Add this right after your existing toggleSidebar function
|
||||
function updateMenuVisibility() {
|
||||
const menuToggle = document.querySelector('.menu-toggle');
|
||||
if (window.innerWidth <= 768) { // Smartphone breakpoint
|
||||
if (window.innerWidth <= 1024) { // Smartphone breakpoint
|
||||
menuToggle.style.display = 'flex';
|
||||
} else {
|
||||
menuToggle.style.display = 'none';
|
||||
|
||||
@@ -59,7 +59,7 @@ if (!isset($topicData)) {
|
||||
</nav>
|
||||
|
||||
<!-- Main Content -->
|
||||
<main class="main-content max-w-7xl">
|
||||
<main class="main-content max-w-7xl mt-5">
|
||||
|
||||
<div class="content-card">
|
||||
<h1 class="content-title"><?php echo($topicData->displayName); ?></h1>
|
||||
|
||||
Reference in New Issue
Block a user