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

Label with an icon #204

Open
tothda opened this issue Jul 26, 2020 · 7 comments
Open

Label with an icon #204

tothda opened this issue Jul 26, 2020 · 7 comments

Comments

@tothda
Copy link

tothda commented Jul 26, 2020

I'd like to add an icon to a piece of text. For instance to add a calendar icon in front of a date.

At first I wanted to use an SVG from the FontAwesome library, but as I see SVGs are positioned relative to the top left corner of the page. Is there a simple way to solve this problem using SVG icons?

@yogthos
Copy link
Collaborator

yogthos commented Jul 26, 2020

There isn't a way to position SVGs relative to text at the moment. I'd be open to adding that as feature, but don't have time to look at it in the near future. I would be open to a PR if somebody has the time before I get to it.

@prestancedesign
Copy link

Hi, Seems to be still the case, can you confirm please?

@yogthos
Copy link
Collaborator

yogthos commented Apr 29, 2022

Yup, this is still an open issue.

@prestancedesign
Copy link

OK thanks.
So currently it's not possible to position charts, graphs and svgs dynamically and relative to the content, is it?

@yogthos
Copy link
Collaborator

yogthos commented Apr 29, 2022

That's correct, there isn't support for positioning svg relative to the page at the moment.

@prestancedesign
Copy link

Thanks for the confirmation and this awesome lib!

@yogthos
Copy link
Collaborator

yogthos commented May 2, 2022

Thanks, and glad it's coming in handy. :)

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

No branches or pull requests

3 participants