embed body selector leak and no wrap for selectors

This commit is contained in:
tresabhi committed 2026-11-27 20:46:38 -06:00
1 parent 5d9c07eb3a
commit 42ed321aa7
3 files changed
+6 -2

No files matched your search

@@ -10,6 +10,8 @@
cursor: pointer;
white-space: nowrap;
&[data-size="minor"] {
--padding: var(--space-2);
--content-size: calc(0.85 * var(--font-size-regular));
@@ -24,6 +24,8 @@
font: inherit;
cursor: pointer;
white-space: nowrap;
&:focus-visible {
outline: var(--outline-focus);
box-shadow: var(--shadow-focus);
@@ -26,7 +26,7 @@ const { locale } = Astro.props;
<BaseStyles />
<style>
body {
.embed {
margin: 0;
overflow: hidden;
@@ -37,7 +37,7 @@ const { locale } = Astro.props;
</style>
</head>
<body>
<body class="embed">
<slot />
</body>
</html>