mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
fix: icon sizes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user