mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-28 12:23:24 +01:00
embed body selector leak and no wrap for selectors
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user