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

fix issue #4 by display a white background #5

Merged
merged 3 commits into from Oct 7, 2015
Merged

fix issue #4 by display a white background #5

merged 3 commits into from Oct 7, 2015

Conversation

yurimalheiros
Copy link
Contributor

Hello, I added a rect shape to the svg for display only the rectangle in the correct size.

@Bekt
Copy link
Owner

Bekt commented Oct 7, 2015

Thanks @yurimalheiros, looks great. Minor styling feedback.

{text}
</text>
width="{size}px" height="{size}px">
<g>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unpad everything from this line and below 2 spaces.

@yurimalheiros
Copy link
Contributor Author

I tried to fix the style, if it still no 100% ok, please let me know.

<text y="50%" x="50%" fill="{color}"
text-anchor="middle" dominant-baseline="central"
style="font-family: {font_family};
font-size: {font_size}px">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move font-size to the line above:
style="font-family: {font_family}; font-size: {font_size}px"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

Bekt added a commit that referenced this pull request Oct 7, 2015
fix issue #4 by display a white background
@Bekt Bekt merged commit c8b3688 into Bekt:master Oct 7, 2015
@Bekt
Copy link
Owner

Bekt commented Oct 7, 2015

Thanks!

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.

None yet

2 participants