From 306d31d6f981f46e60a7d6d7f41d2dca63a8c0df Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Thu, 6 Mar 2025 12:22:54 -0500
Subject: [PATCH] i2ptunnel: Hide redundant h2 header when iframed

---
 apps/i2ptunnel/jsp/themes/dark/i2ptunnel.css  | 4 ++++
 apps/i2ptunnel/jsp/themes/light/i2ptunnel.css | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/apps/i2ptunnel/jsp/themes/dark/i2ptunnel.css b/apps/i2ptunnel/jsp/themes/dark/i2ptunnel.css
index e0b53829d9..4c068c3187 100644
--- a/apps/i2ptunnel/jsp/themes/dark/i2ptunnel.css
+++ b/apps/i2ptunnel/jsp/themes/dark/i2ptunnel.css
@@ -231,6 +231,10 @@ h2, h3 {
 
 /* end title images */
 
+#overview.iframed h2 {
+     display: none;
+}
+
 .iframed h2 {
      margin: 14px 0 -1px;
 }
diff --git a/apps/i2ptunnel/jsp/themes/light/i2ptunnel.css b/apps/i2ptunnel/jsp/themes/light/i2ptunnel.css
index 83e949d2c8..63a63b8509 100644
--- a/apps/i2ptunnel/jsp/themes/light/i2ptunnel.css
+++ b/apps/i2ptunnel/jsp/themes/light/i2ptunnel.css
@@ -352,6 +352,10 @@ h2, h3 {
      position: relative;
 }
 
+#overview.iframed h2 {
+     display: none;
+}
+
 .iframed h2, .iframed h3 {
      margin-top: 14px;
 }
-- 
GitLab