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

The width is not correctly resized #90

Closed
refparo opened this issue May 30, 2021 · 4 comments · Fixed by #102
Closed

The width is not correctly resized #90

refparo opened this issue May 30, 2021 · 4 comments · Fixed by #102

Comments

@refparo
Copy link
Contributor

refparo commented May 30, 2021

Example: https://vaparo.github.io/about/

The comment widget has default width and border style.

@laymonage
Copy link
Member

@vaparo Have you followed the CSS example?

.giscus, .giscus-frame {
  width: 100%;
}

.giscus-frame {
  border: none;
}

@laymonage
Copy link
Member

@vaparo Here's the result after adding the CSS:

image

@refparo
Copy link
Contributor Author

refparo commented Jun 4, 2021

Thanks, but shouldn't such css be added by default to make it work out-of-box?

@laymonage
Copy link
Member

Fair point. I initially wanted to let users manage the styles themselves, but adding a default style that can be overridden seems logical.

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

Successfully merging a pull request may close this issue.

2 participants