Skip to content

Commit 65309d8

Browse files
committed
Fix CSS z-index issues causing button/element overlap
Added proper z-index and position relative to grid elements to prevent UI elements from being hidden behind or overlapping incorrectly: - Main profile grid: z-index 1 - Smart mapping grid: z-index 2 - Code block section: z-index 10 This ensures proper layering and prevents buttons or interactive elements from being positioned behind the grid layouts.
1 parent 4838112 commit 65309d8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ <h3>Modular network security</h3>
381381
<h2 class="section-title">Intelligent Profile System</h2>
382382
<p class="section-sub">Two-layer architecture: server behavior + package selection with cumulative inheritance.</p>
383383

384-
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0;">
384+
<div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; position: relative; z-index: 1;">
385385
<div style="background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem;">
386386
<h3 style="color: var(--accent); margin-bottom: 1rem;">🖥️ SERVER PROFILES</h3>
387387
<p style="color: var(--muted); margin-bottom: 1rem;">Configure overall server behavior:</p>
@@ -410,7 +410,7 @@ <h3 style="color: var(--accent); margin-bottom: 1rem;">📦 APPS PROFILES</h3>
410410
<div style="background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin: 2rem 0;">
411411
<h4 style="color: var(--accent); margin-bottom: 1rem;">🔄 Smart Mapping</h4>
412412
<p style="color: var(--muted); margin-bottom: 1rem;">Server profiles automatically choose appropriate package sets:</p>
413-
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;">
413+
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; position: relative; z-index: 2;">
414414
<div><code>--server-profile default</code><strong>server</strong> packages (36)</div>
415415
<div><code>--server-profile prod</code><strong>server</strong> packages (36)</div>
416416
<div><code>--server-profile dev</code><strong>full</strong> packages (57)</div>
@@ -434,7 +434,7 @@ <h4 style="color: var(--accent); margin-bottom: 1rem;">⚠️ Important: backup-
434434
<h2 class="section-title">Deploy in one command.</h2>
435435
<p class="section-sub">Download the script, review it, run it with your preferred profile. No installer, no packages, no complex setup required.</p>
436436

437-
<div style="position: relative; margin: 2rem 0; border-radius: 8px; overflow: hidden;">
437+
<div style="position: relative; margin: 2rem 0; border-radius: 8px; overflow: hidden; z-index: 10;">
438438
<pre style="background: var(--bg2); border: 1px solid var(--border); padding: 1.5rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.6; overflow-x: auto; white-space: pre-wrap;"># Download and make executable
439439
curl -O https://raw.githubusercontent.com/franckferman/debian-server-post-install/stable/debian-server-post-install.sh
440440
chmod +x debian-server-post-install.sh

0 commit comments

Comments
 (0)