1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-30 15:23:50 -05:00

svg fixes

This commit is contained in:
2024-09-10 14:52:34 -04:00
parent 563533fdb0
commit 0dbb32a267
8 changed files with 9 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ const MarkdownTip = styled("div", {
}); });
const MarkdownTipIcon = styled(SiMarkdown, { const MarkdownTipIcon = styled(SiMarkdown, {
display: "inline",
width: "1.25em", width: "1.25em",
height: "1.25em", height: "1.25em",
verticalAlign: "-0.25em", verticalAlign: "-0.25em",
@@ -123,6 +124,7 @@ const Result = styled("div", {
}); });
const ResultIcon = styled("svg", { const ResultIcon = styled("svg", {
display: "inline",
width: "1.3em", width: "1.3em",
height: "1.3em", height: "1.3em",
verticalAlign: "-0.3em", verticalAlign: "-0.3em",

View File

@@ -38,6 +38,7 @@ const PlainLink = styled(Link, {
}); });
const Icon = styled("svg", { const Icon = styled("svg", {
display: "inline",
width: "1.25em", width: "1.25em",
height: "1.25em", height: "1.25em",
verticalAlign: "-0.25em", verticalAlign: "-0.25em",

View File

@@ -25,6 +25,7 @@ const MenuLink = styled(Link, {
}); });
const Icon = styled("svg", { const Icon = styled("svg", {
display: "inline",
width: "1.25em", width: "1.25em",
height: "1.25em", height: "1.25em",
verticalAlign: "-0.3em", verticalAlign: "-0.3em",

View File

@@ -4,6 +4,7 @@ import { styled, theme } from "../../lib/styles/stitches.config";
import type { ComponentPropsWithoutRef } from "react"; import type { ComponentPropsWithoutRef } from "react";
const Octocat = styled(SiGithub, { const Octocat = styled(SiGithub, {
display: "inline",
width: "1.2em", width: "1.2em",
height: "1.2em", height: "1.2em",
verticalAlign: "-0.2em", verticalAlign: "-0.2em",

View File

@@ -27,6 +27,7 @@ const MetaLink = styled(Link, {
}); });
const Icon = styled("svg", { const Icon = styled("svg", {
display: "inline",
width: "1.2em", width: "1.2em",
height: "1.2em", height: "1.2em",
verticalAlign: "-0.2em", verticalAlign: "-0.2em",

View File

@@ -47,6 +47,7 @@ const MetaLink = styled(Link, {
}); });
const MetaIcon = styled("svg", { const MetaIcon = styled("svg", {
display: "inline",
width: "16px", width: "16px",
height: "16px", height: "16px",
verticalAlign: "-0.3em", verticalAlign: "-0.3em",

View File

@@ -42,6 +42,7 @@ const Divider = styled(HorizontalRule, {
}); });
const WindowsLogo = styled(SiWindows95, { const WindowsLogo = styled(SiWindows95, {
display: "inline",
width: "1.2em", width: "1.2em",
height: "1.2em", height: "1.2em",
verticalAlign: "-0.15em", verticalAlign: "-0.15em",

View File

@@ -33,6 +33,7 @@ const ViewMore = styled("p", {
}); });
const GitHubLogo = styled(SiGithub, { const GitHubLogo = styled(SiGithub, {
display: "inline",
width: "1.2em", width: "1.2em",
height: "1.2em", height: "1.2em",
verticalAlign: "-0.2em", verticalAlign: "-0.2em",