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:
@@ -1,7 +1,6 @@
|
||||
.code_block {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow-x: scroll;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user