Skip to content
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

bim-icon svg image wrong position #56

Open
5 tasks done
YgorFasa98 opened this issue Nov 28, 2024 · 0 comments
Open
5 tasks done

bim-icon svg image wrong position #56

YgorFasa98 opened this issue Nov 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@YgorFasa98
Copy link

YgorFasa98 commented Nov 28, 2024

Describe the bug 📝

Related to the previous issue (issue #55 ), if the bim-label has an icon and the font size is bigger, the svg image will be placed on the bottom part of the label and not inside its related container (which is correctly positioned on the center of the label).
In this case the problem could be in the display:inline-block from the :host element of the children of , in fact, removing this the svg will be placed in the correct position.

Before:
image

After:
image

Reproduction ▶️

No response

Steps to reproduce 🔢

Create a bim-label element, add an icon and set the font size of the label bigger

System Info 💻

//

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.
@YgorFasa98 YgorFasa98 added the bug Something isn't working label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant