We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UserLinks icons in the footer are very large for a short amount of time on loading of the home page, before that everything go back to normal.
The page should load normally, with icons directly in the preferred size.
The page is first loaded with very large icons taking the whole window width before quickly changing to the normal preferred size.
Mozilla Firefox 74.0.1
The text was updated successfully, but these errors were encountered:
I was able to identify the code responsible for initially loading the icons with large width using breakpoints in the Firefox debugger:
<FontAwesomeIcon icon={faEnvelope} />
in ./src/components/UserLinks/UserLinks.jsx.
./src/components/UserLinks/UserLinks.jsx
Constraint size in css directly to the FontAwesomeIcon component, rather than adjusting the size in the container.
FontAwesomeIcon
Instead of:
.userLinks{ font-size: 36px; } .userLinksNoSplit{ font-size: 36px; }
Do something like:
.theFontAwesomeComponent{ font-size: 36px; }
Sorry, something went wrong.
I tried:
None of these actions solve the issue.
According to Firefox Debugger, the error (images becoming huge) occurs on the following line:
document.addEventListener("DOMContentLoaded", function(event) {
Similar issue solved here:
73537af
nicobao
No branches or pull requests
Description
UserLinks icons in the footer are very large for a short amount of time on loading of the home page, before that everything go back to normal.
Steps to reproduce
Expected result
The page should load normally, with icons directly in the preferred size.
Actual result
The page is first loaded with very large icons taking the whole window width before quickly changing to the normal preferred size.
Environment
Mozilla Firefox 74.0.1
The text was updated successfully, but these errors were encountered: