Skip to content

Commit

Permalink
drop nesting warning, fix flash of unformatted header, fix css build …
Browse files Browse the repository at this point in the history
…warning
  • Loading branch information
dghelm committed Apr 15, 2024
1 parent 60839b0 commit f2883c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default defineConfig({
mdx(),
tailwind({
applyBaseStyles: false,
nesting: true,
}),

astroI18next(),
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const section = frontmatter?.section ?? ""
))
}
</div>
<div class="tools">
<div class="tools" transition:persist>
{
CONFIG.ALGOLIA && (
<div class="search-item">
Expand Down
2 changes: 1 addition & 1 deletion src/styles/design-system/components/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
}

/* Text styles */
:where(.text, .text-100, .text-200, .text-300, ) {
:where(.text, .text-100, .text-200, .text-300) {
@apply font-text font-normal text-primary leading-[1rem];
}

Expand Down

0 comments on commit f2883c9

Please sign in to comment.