-
Notifications
You must be signed in to change notification settings - Fork 0
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
ER-864 card progress bar #966
Conversation
Changes preview: |
Looks like the maintenance page redirect is still taking place in the CI tests, causing some failures |
It would help if I merged/rebased my own change 😑 @jack-coggin |
- Add coverage and locales - Adding write permission for deploy URL comment - Add missing preference to seeded user
0efbb3d
to
1cf9233
Compare
@peterdavidhamilton Have you considered replacing the class "description" with "govuk-!-font-size-14" as this will be responsive and we won't need the extra declaration |
I certainly would have before I refactored to see it was the only attribute required; but I am a fan of styling components in the CSS more than templates usually. Is there a visible difference in behaviour between the two or is it down to taste? Not down to taste as such and there is no visible difference. It is just that we are creating a new class and bit of code to manage when there is no other styling on that element other than size and the controller for that will already exist in the core gov css. |
If pressed I'd actually move |
My preference would be to do as much of the styling as possible in the css rather than the template - mainly for readability/maintainability |
@instantrick something that breaks the lovely clean lines of |
Yep that is fair enough. I the class with -s won't push it down. For now it's fine. We're talking about saving bytes ultimately so I am happy to go with the fix of just adding the missing px in the css |
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.
All looks good
ER-864
New resources using a
%{num}
variable:my_learning.progress.percentage
my_learning.progress.viewed
my_learning.progress.remaining