Skip to content

Commit fb84d8e

Browse files
committed
fix: use is:global for JS-generated card styles
1 parent a3e9344 commit fb84d8e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

site/src/pages/_index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ async function boot() {
630630
boot();
631631
</script>
632632

633-
<style>
634-
/* agent card styles (inline from original) */
633+
<style is:global>
634+
/* agent card styles — must be global since cards are JS-generated */
635635
.a-card {
636636
display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
637637
padding: 16px; color: inherit; transition: all 0.2s; position: relative; overflow: hidden;

site/src/pages/explore.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import Wide from '../layouts/Wide.astro';
6868

6969
</Wide>
7070

71-
<style>
71+
<style is:global>
7272
/* header */
7373
.header { padding: 32px 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
7474
.header-title { font-family: var(--pixel); font-size: 11px; color: var(--text); }

0 commit comments

Comments
 (0)