Skip to content

fix: logo.svg crops left side of graphic #164#228

Open
resul-elezi wants to merge 1 commit into
color-js:mainfrom
resul-elezi:fix-issue-164
Open

fix: logo.svg crops left side of graphic #164#228
resul-elezi wants to merge 1 commit into
color-js:mainfrom
resul-elezi:fix-issue-164

Conversation

@resul-elezi
Copy link
Copy Markdown

This pull request makes the following changes:

*Fixes issue #164

Initially, I tried increasing the viewBox width to prevent the clipping of the </> characters. However, I noticed that this change altered the overall dimensions of the SVG, which caused the navigation menu to shift its position.

To maintain the original layout and navigation alignment, I decided to keep the original viewBox and instead fine-tuned the internal elements. I adjusted the font-size to 320px, set the letter-spacing to -0.065em, and slightly repositioned the text to x="48.5%". This ensures that the logo is fully visible and fits perfectly within the existing boundaries without affecting the rest of the UI.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for color-elements ready!

Name Link
🔨 Latest commit 3a66d52
🔍 Latest deploy log https://app.netlify.com/projects/color-elements/deploys/69f83d05354a8e0008ff301b
😎 Deploy Preview https://deploy-preview-228--color-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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 this pull request may close these issues.

1 participant