Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/components/CarbonAds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ export function CarbonAds({ id }: { id: string }) {
}, [id])

return <div className="carbonAdsContainer" ref={containerRef} />
}
}
2 changes: 1 addition & 1 deletion src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Menu({ pages = [] }: { pages: Pages }) {
</ul>
<div className={styles.ads}>
<CarbonAds id={CARBON_SCRIPT_ID} />
</div>
</div>
</div>
</aside>
)
Expand Down
13 changes: 12 additions & 1 deletion src/components/Menu/SideMenu.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
max-width: 230px;
padding: 0;
overflow-y: auto;
height: calc(100vh - 190px);
height: calc(100vh - 600px);
overflow-y: auto;
}

.menu > div > ul > li {
Expand All @@ -48,6 +49,10 @@
display: flex;
}

.menu > div > ul > li:last-child {
padding-bottom: 0;
}

.menu > div > ul > li > a {
text-decoration: none;
padding-left: 6px;
Expand Down Expand Up @@ -117,6 +122,7 @@
.menu > div > ul {
margin-top: 0;
max-width: 260px;
height: calc(100vh - 450px);
}

.menu > ul {
Expand Down Expand Up @@ -203,3 +209,8 @@
.menu ul li a.isActive {
border-bottom: 1px solid var(--color-secondary);
}

.ads {
position: absolute;
height: 500px;
}
1 change: 1 addition & 0 deletions src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ export default function Nav() {
>
{nav.tools.formBuilder}
</Link>

<Link
className={router.pathname == "/dev-tools" ? "active" : ""}
href="/dev-tools"
Expand Down
8 changes: 0 additions & 8 deletions src/components/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,3 @@ pre[class*="language-"] {
height: auto;
}
}

#carbon-responsive {
margin: 0 auto 50px;
}

#carbon-cover {
margin: 0 auto 50px;
}
6 changes: 6 additions & 0 deletions src/components/sponsorsList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
border-radius: 50px;
}

.add {
border: 1px dashed #ccc;
border-radius: 50px;
font-size: 12px;
}

@media (min-width: 768px) {
.logoGroup {
display: grid;
Expand Down