-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Solved: Responsive Design div.subtlecircle Overflow on Small Screens (< 767px) #1367 #1368
Conversation
the subtitle-icon class is added and with some media quires to make the page responsive
the subtitle-icon class is added in div.row elements for the features section and i also foun the some issue the terminal fonts so a media query is added to fix the same in terminal font section
Hey @Finii, Thanks for the review. I actually ran the site locally using Best regards, |
Hey @Finii, I wanted to let you know that I've made the necessary changes to address the issue we discussed earlier. You can view the changes on the following link: View Changes. Best regards, |
This looks great! Thank you ❤️ Maybe a question (I am no web developer), why do you add the -<img src="/assets/img/nerd-fonts-icons-in-vim.png" alt="Preview of Nerd Fonts Icons usage in terminal Vim">
+<img src="./assets/img/nerd-fonts-icons-in-vim.png" alt="Preview of Nerd Fonts Icons usage in terminal Vim"> And maybe you know why the one inner circle becomes so ugly when scaling down, probably some silly simple error on our part: I guess the circle shrinks horizontally, but not vertically. |
@allcontributors please add @VitthalGund for code |
I've put up a pull request to add @VitthalGund! 🎉 |
(Was unsure if |
Hey @Finii, Thanks for considering my Pull Request for merging. I believe the Best regards, |
QuestionWhy do you add the '.' in front of the paths? I've noticed that in the Explanation: The period ('.') in the path, referred to as a relative path, is used to indicate the current directory. It plays a crucial role in helping the browser locate and access resources correctly. Without it, the browser may not be able to find the resources, leading to issues like images not loading as expected. So, why use relative paths with the period ('.')? It's because they provide a way to specify the path relative to the current location of the HTML file. This can make it easier to manage resources, especially when organizing files in a directory structure. |
Hey @Finii, Additionally, I plan to enhance the styling of the cards on the website. While I'm not familiar with some technologies, I'm committed to learning and contributing. Your guidance is valuable, and I'm dedicated to making a meaningful impact on "nerd-fonts." Feel free to share any specific focus areas or suggestions. |
Of course, I would be happy if you can attack that.
Enhancing the style is of course good; but what someone calls 'enhance' someone else calls 'make worse'. |
Description
To solve the overflow problem of
div.subtitlecircle
, the following CSS has been added:The .subtitle-icon class is added to the parent element (wrapper) of div.subtlecircle, preventing the element from overflowing and aligning it to the center of the features section. The media query is specifically added to resolve the overflow of the Terminal Fonts subtitle icon without creating a new class or adding specific styling(i have reused the css class which i made for features section). This approach efficiently reuses existing CSS classes.
Requirements / Checklist
What does this Pull Request (PR) do?
This PR addresses issue #1367. The issue involved the div.subtlecircle element overflowing its parent container below a width of 767px. The same issue was observed in the Terminal Fonts Examples container, where the div.subtlecircle images also overflowed below this width, leading to a design problem for smaller screen sizes.
How should this be manually tested?
After implementing the solution, I tested this application locally on my machine using Chrome DevTools. I ensured that it works well across various screen sizes.
Screenshots (if appropriate or helpful)
Before:
After:
Before:
After:
(Note: Apologies for not capturing a screenshot of the terminal font section, but I can assure you that it functions correctly. You can verify it as well.)
Fixes: #1367