From 734581b5fa2e531678b171e397b88700bfaac11f Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Mon, 3 Nov 2025 06:06:02 -0500 Subject: [PATCH 1/8] fix: Force tab-content to display block in targeting browser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes Bootstrap tabs not showing after null safety fixes. **Problem:** - After fixing audience.type null errors, tabs still weren't visible - Browser inspector showed .tab-content had display: none - Individual .tab-pane elements had correct display: block - But parent .tab-content wrapper was hidden **Root Cause:** - Some CSS (likely from Bootstrap or another stylesheet) was setting .tab-content to display: none - The tab-pane visibility CSS wasn't enough because parent was hidden **Solution:** - Added explicit CSS rule: .targeting-browser .tab-content { display: block !important; } - Uses !important to override any conflicting styles - Ensures tab-content wrapper is always visible - Individual tab-pane elements still switch visibility correctly **Impact:** - ✅ Tabs now render properly in targeting browser - ✅ Custom targeting keys, audiences, and labels tabs all work - ✅ Tab switching works as expected - ✅ No JavaScript errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- templates/targeting_browser.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/targeting_browser.html b/templates/targeting_browser.html index dc31c0d76..d2280408a 100644 --- a/templates/targeting_browser.html +++ b/templates/targeting_browser.html @@ -4,6 +4,11 @@ {% block content %}