Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think there should be no padding/margin between logo and the text #51

Open
marekbrze opened this issue Mar 18, 2024 · 0 comments
Open

Comments

@marekbrze
Copy link
Contributor

I have a problem with my project. I think there should be no extra space added between logo and the text. Ideally it would be a option to decide what margins should be added to logo in CSS style (0, 0, 0, 0)

What I want to achieve:
og-bg (1)

What I get:
Zrzut ekranu 2024-03-18 o 21 33 14

My config:

getImageOptions: (path, page) => ({
    title: page.title,
    description: page.description,
    logo: {
      path: "./src/assets/images/og_logo.png",
    },
    bgImage: {
      path: "./src/assets/images/og_bg.png",
    },
    padding: 80,
    font: {
      title: {
        families: ["Inter"],
        color: [8, 47, 73],
        weight: "Bold",
        size: 64,
        lineHeight: 1.24,
      },
      description: {
        families: ["Inter"],
        color: [8, 47, 73],
        weight: "Normal",
        size: 40,
        lineHeight: 1.24,
      },
    },
    fonts: ["./public/fonts/Inter.ttf"],
  }),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant