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;
|
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>
|
||||||
Reference in new issue
Block a user