Skip to content

Commit 7d52f5b

Browse files
luizomfclaude
andcommitted
fix(tunnels): use is:global style for dynamically created elements
Astro scopes non-global styles, so tunnel entry cards and diagrams created via JS innerHTML had no styling. Same pattern used by the config page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 75e0dfb commit 7d52f5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/tunnels.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ import Tooltip from '../components/Tooltip.astro';
161161
<Footer />
162162
</Base>
163163

164-
<style>
164+
<style is:global>
165165
.page-header {
166166
text-align: center;
167167
padding: 2rem 0 1.5rem;

0 commit comments

Comments
 (0)