-
Notifications
You must be signed in to change notification settings - Fork 57
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
Some refactoring and SPaG fixes #95
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #95 +/- ##
==========================================
- Coverage 71.93% 71.90% -0.03%
==========================================
Files 60 60
Lines 2444 2442 -2
Branches 514 514
==========================================
- Hits 1758 1756 -2
Misses 626 626
Partials 60 60 ☔ View full report in Codecov by Sentry. |
⚡ Preview for this PR: https://pr-95.chat-analytics.pages.dev |
assets/styles/Labels.less
Outdated
margin: auto; | ||
margin-left: 3px; | ||
margin: auto auto auto 3px; |
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.
This is in fact shorter, but less readable. I don't usually remember which of the four arguments is what (less when there are three). Right now I see it as "everything with auto but left with 3px", so much easier. This kind of changes are handled by the CSS postprocessor so they have no impact.
There are a few cases of this
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.
Fair enough, I didn't know LESS did optimization
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.
There's quite a few places where you were already using this syntax; for consistency, should I expand those too?
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.
There's quite a few places where you were already using this syntax; for consistency, should I expand those too?
As you wish
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.
Well, it's your project, so it should be as you wish, but so be it 😅
By the way, what do you mean with "SPaG"? 🤔 |
Spelling, Punctuation and Grammar. Sorry, probably just a UK thing lol |
I carefully checked all the changes and I'm ready to merge! I added the following again: fieldset {
display: grid;
display: contents;
} Which was necessary for the Stepper (homepage, while processing) to display correctly. I rolled back changes in value >>>= 7; // from this
value = value >>> 7; // back to this I don't recall correctly and can't find a source but I had problems with Thanks for your PR once again! Lot of work, thanks!! 🎊🎊🎊 |
Hm I did definitely test the stepper a lot and didn't see any issues, I don't know what having two display properties is supposed to do. Of will. But that older browser issue makes sense, no worries! |
iirc it was a fallback |
Edit: Didn't mean to include #94 in this, but I'll probably just cause issues with merging if I try to remove it