Skip to content

Commit 0b2971f

Browse files
authored
docs: update ecosystem style (#7460)
1 parent 1fdb18b commit 0b2971f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/docs/src/routes/(ecosystem)/ecosystem.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,3 +252,8 @@
252252
[data-theme='dark'] [alt='Twitter'] {
253253
filter: invert(1);
254254
}
255+
256+
.custom-grid-cols-240px-1fr-tailwind-workaround {
257+
/* temporary workaround .grid-cols-\[240px\,1fr\] is not currently working in tailwind */
258+
grid-template-columns: 240px 1fr;
259+
}

packages/docs/src/routes/(ecosystem)/ecosystem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default component$(() => {
2323

2424
return (
2525
<>
26-
<div class="ecosystem lg:grid grid-cols-[240px,1fr] m-auto max-w-screen-xl gap-8">
26+
<div class="ecosystem lg:grid grid-cols-[240px,1fr] m-auto max-w-screen-xl gap-8 custom-grid-cols-240px-1fr-tailwind-workaround">
2727
<EcosystemMenu />
2828
<MobileEcosystemMenu />
2929

0 commit comments

Comments
 (0)