Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Odd issue with SVG icon #44

Closed
MuTLY opened this issue Nov 28, 2019 · 2 comments · Fixed by ndom91/newtelco-next-maintenance-mgmt#20
Closed

Odd issue with SVG icon #44

MuTLY opened this issue Nov 28, 2019 · 2 comments · Fixed by ndom91/newtelco-next-maintenance-mgmt#20

Comments

@MuTLY
Copy link

MuTLY commented Nov 28, 2019

Depending on screen size, the icon shows different sizes.

image

image

I haven't touch the original CSS and I'm having a hard time finding the cause of this.

@MuTLY
Copy link
Author

MuTLY commented Nov 29, 2019

The more text added to the toaster, the smaller the icon. Solution: adding a min-width to the svg CSS rule with the same size of the icon element (18px) fixes this behavior.

E.g. .ct-toast svg { min-width: 18px; }

@anmdotdev
Copy link
Contributor

Fixed in v4.1.3 with #46

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants