fix: icon sizes

This commit is contained in:
Stefan Imhoff
2024-03-16 11:03:07 +01:00
parent ab6bd4e89e
commit d16afb6965
3 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ interface Props extends JSX.HTMLAttributes<HTMLAnchorElement> {
export const DownloadLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
<TextLink class="group" href={href} {...props}>
{text}
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.4em]">
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.2em]">
<Download
aria-hidden="true"
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-y-1 group-focus:translate-y-1"

View File

@@ -11,7 +11,7 @@ interface Props extends JSX.HTMLAttributes<HTMLAnchorElement> {
export const MoreLink: FunctionalComponent<Props> = ({ href, text, ...props }) => (
<TextLink class="group" href={href} {...props}>
{text}
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.4em]">
<span class="more-icon relative inline-flex mis-[0.2em] block-start-[0.2em]">
<ArrowRight
aria-hidden="true"
class="icon h-icon w-icon transition-transform duration-500 ease-in-out group-hover:translate-x-1 group-focus:translate-x-1"

View File

@@ -117,9 +117,9 @@ module.exports = {
layout: 'clamp(1.5rem, 6.9375vw, 4.5rem)',
gap: 'clamp(1.5rem, 6.9375vw, 6rem)',
halfgap: 'calc(clamp(1.5rem, 6.9375vw, 6rem) / 2)',
icon: '30px',
'icon-small': '25px',
clickarea: '50px',
icon: '24px',
'icon-small': '20px',
clickarea: '40px',
},
fontFamily: {
sans: ['SecuelaVariable', 'Arial', 'sans-serif'],