Fix icon cropping in social cards by using square icon variant#22
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix icon cropping in social card
Fix icon cropping in social cards by using square icon variant
Jan 30, 2026
|
Collaborator
|
@copilot, still cropped on both icon and social card: |
Contributor
Author
Fixed in commit 1ba3b24. Recreated the square icon with a wider crop (1150x1150) that includes the complete E3SM text and circular arc without cropping any letters. |
1ba3b24 to
04d1af6
Compare
04d1af6 to
77a342d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fix Social Card Icon Cropping
Changes Made
Created improved square icon files:
E3SM_Icon.png(1150x1150) - Wider square crop that includes the complete E3SM logo text and circular arc without cropping any lettersE3SM_Icon_512.png(512x512) - Optimized 512x512 version for social cards and faviconE3SM_Icon_1024.png(1024x1024) - High-resolution version for retina displaysUpdated mkdocs.yml:
faviconfromE3SM_Logo.pngtoE3SM_Icon_512.pnglogofromE3SM_Logo.pngtoE3SM_Icon_512.pngUpdated extra.css:
E3SM_Icon_512.pngResult
The improved square icon (1150x1150 base size) now includes the complete "E3SM" text with the circular arc. No letters are cropped. The icon displays properly in the header and will render correctly in social preview cards without any text being cut off.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.