-
Notifications
You must be signed in to change notification settings - Fork 325
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
[Feature request] Option to remove Github icon from Stats card #141
Comments
I think you can do something like this to make them evenly seperate into two rows like this: <div>
<div>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/profile-details?username=VladimirAlexiev&theme=vue"></a>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username=VladimirAlexiev&theme=vue"></a>
</div>
<div>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/stats?username=VladimirAlexiev&theme=vue"></a>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-readme-stats.vercel.app/api?username=VladimirAlexiev&show_icons=true&disable_animations=true&text_bold=false&card_width=365px&layout=compact&custom_title=Stats2&include_all_commits=true&count_private=true&theme=vue"></a>
</div>
</div> And if you're not using markdown to write your webiste, you can definitely add some css to position your elements like this: <style>
.github-state{
display: grid;
grid-template-columns: 1fr 1fr;
}
</style>
<div class="github-state">
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/profile-details?username=VladimirAlexiev&theme=vue"></a>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username=VladimirAlexiev&theme=vue"></a>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-profile-summary-cards.vercel.app/api/cards/stats?username=VladimirAlexiev&theme=vue"></a>
<a href="https://github.com/VladimirAlexiev"><img src="https://github-readme-stats.vercel.app/api?username=VladimirAlexiev&show_icons=true&disable_animations=true&text_bold=false&card_width=365px&layout=compact&custom_title=Stats2&include_all_commits=true&count_private=true&theme=vue"></a>
</div> |
Thanks @MR-Addict ! I think I can more easily use a blank line in markdown.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
At my profile https://rawgit2.com/VladimirAlexiev/my/master/index.html
I've included several Github cards: 3 from you and 1 from https://github-readme-stats.vercel.app:
As you see, the last card drops to a new line because there's not enough space to show it on the same line.
I'd like to remove the Github icon (crossed-out in red).
Alternatives
to something like
(UPD: it doesn't)
Has the feature been requested before?
No
If the feature request is approved, would you be willing to submit a PR?
I might, if you give me some pointers into reading https://github.com/vn7n24fzkq/github-profile-summary-cards/blob/main/src/cards/stats-card.ts
The text was updated successfully, but these errors were encountered: