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