-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 the 'When no star ratings on book, UI looks weird #6411' bug #6418
Conversation
41a6135
to
d5334c2
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.
Headings (<h1>,...,<h6>
) are meant to create an outline of the content on a page. Pages are less accessible when headings are used as decorative elements.
@@ -12,6 +12,7 @@ | |||
$if (stats_decimal >= 0.5) and (stats_decimal < 1): | |||
$:('<span class="readers-stats__star--half">★</span>') | |||
<span itemprop="ratingValue">$avg</span> | |||
<h4>·</h4> |
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.
<h4>·</h4> | |
<span>·</span> |
Let's change this to a span, and update the CSS accordingly. You can assign the span a unique class if it is helpful.
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.
Okey, I will fix it rigth now
68f008c
to
7f219aa
Compare
for more information, see https://pre-commit.ci
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.
Lgtm! Thanks @Vassilis-Boubis!
Closes #6411
Technical
Testing
Screenshot
Stakeholders