1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-17 09:28:43 -04:00

finally tested on windows/edge -- fix resulting weirdness

- magic wand cursor
- unnecessary horizontal scroll bar on short code blocks
This commit is contained in:
2022-01-14 11:00:31 -05:00
parent 32a5eb9c61
commit 399091122c
3 changed files with 41 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
.code_block {
position: relative;
width: 100%;
overflow-x: scroll;
margin: 1em auto;
}

View File

@@ -1,7 +1,6 @@
import { memo } from "react";
import Link from "next/link";
import css from "styled-jsx/css";
import isAbsoluteUrl from "is-absolute-url";
import type { ReactNode } from "react";
type ColorLinkProps = {
@@ -41,8 +40,6 @@ const getFancyLinkStyles = ({ lightColor, darkColor }: Partial<ColorLinkProps>)
};
const ColorLink = ({ href, title, lightColor, darkColor, external = false, children }: ColorLinkProps) => {
external = external || isAbsoluteUrl(href);
const { className, styles } = getFancyLinkStyles({ lightColor, darkColor });
return (