-
Notifications
You must be signed in to change notification settings - Fork 1
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
IBX-3070: User thumbnail should not be rendered with border and other minor bugs #43
Conversation
tischsoic
commented
Jun 22, 2022
•
edited
Loading
edited
Question | Answer |
---|---|
Tickets | https://issues.ibexa.co/browse/IBX-3070 |
Bug fix? | yes/no |
New feature? | no |
BC breaks? | no |
Tests pass? | yes |
Doc needed? | no |
License | GPL-2.0 |
6747193
to
5c137b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA approved on IbexaDXP 4.1 commerce.
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="#000000" stroke-width="3" /> | ||
<text x="5" y="22" font-size="16px" fill="{{ text }}">{{ initials }}</text> | ||
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="{{ text_color }}" stroke-width="1" /> | ||
<text x="50%" y="50%" dominant-baseline="central" text-anchor="middle" font-size="12px" fill="{{ text_color }}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still should have fallback to text
here if text_color
is not set.
@@ -1,4 +1,6 @@ | |||
<symbol id="profile_image" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> | |||
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="#000000" stroke-width="3" /> | |||
<text x="5" y="22" font-size="16px" fill="{{ text }}">{{ initials }}</text> | |||
<ellipse ry="15" rx="15" cy="16" cx="16" fill="{{ background }}" stroke="{{ text_color }}" stroke-width="1" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should not make that same mistake twice and use different variable name for stroke color as it is not text related, right?
Merged up:
|