Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/capabilities mobile style fixes #106

Merged
merged 3 commits into from
Oct 11, 2024
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
7 changes: 0 additions & 7 deletions src/assets/api-routes.svg

This file was deleted.

9 changes: 6 additions & 3 deletions src/components/capabilities/capabilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
}

.capabilities em,
.capabilities strong {
.capabilities strong,
.capabilities code {
font-size: var(--font-size-1);
}

Expand Down Expand Up @@ -79,7 +80,8 @@
display: inline-block;
}

.capability-heading svg {
.capability-heading svg,
.capability-heading span {
vertical-align: middle;
}

Expand Down Expand Up @@ -138,7 +140,8 @@ pre {

.content,
.content strong,
.content em {
.content em,
.content code {
font-size: var(--font-size-fluid-1) !important;
}

Expand Down
2 changes: 0 additions & 2 deletions src/components/capabilities/capabilities.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import sheet from "./capabilities.css" with { type: "css" };
import themeSheet from "../../styles/theme.css" with { type: "css" };
import api from "../../assets/api-routes.svg?type=raw";
import ssg from "../../assets/build-ssg.svg?type=raw";
import html from "../../assets/html.svg?type=raw";
import webComponents from "../../assets/web-components.svg?type=raw";
Expand All @@ -12,7 +11,6 @@ const template = document.createElement("template");
// as styling for hover states can be entirely through CSS
// as a result yes, these images are hardcoded here, but oh well
const availableIconSVGs = {
"api-routes.svg": api,
"html.svg": html,
"build-ssg.svg": ssg,
"web-components.svg": webComponents,
Expand Down
1 change: 1 addition & 0 deletions src/components/header/header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
cursor: pointer;
border: none;
padding: 0 12px;
color: var(--color-black);
}

.mobileMenuList {
Expand Down