Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/common-config/src/components/CategoryCards/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ export default function CategoryCards({
const currentTheme = theme || defaultTheme;

return (
<div
<div
className={styles.categoryCards}
style={{
gridTemplateColumns: `repeat(${columns}, 1fr)`
}}
'--columns': columns
} as React.CSSProperties}
>
{categories.map((category) => (
<Link
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.categoryCards {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-columns: repeat(var(--columns, 4), 1fr);
gap: 1.25rem;
width: 100%;
margin-top: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion sites/ef/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const localConfig: Config = {
title: "Ethereum Foundation Handbook",
tagline:
"Exploring privacy initiatives and interoperability solutions advancing the Ethereum ecosystem.",
favicon: "img/favicon.ico",
favicon: "common/img/favicon.svg",

// Set the production url of your site here
url: "https://ef.handbook.wonderland.xyz",
Expand Down
Loading