-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
[BUU] Left-align headers of new orders table #11634
[BUU] Left-align headers of new orders table #11634
Conversation
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.
The code change looks good.
I tried to deploy this to staging AU using the staged-au tag, but it is not working. More details should be available in the action panel in Github |
Hello @lauriejefferson thanks for one more! This is nice, I just have a question around the payment state column: the title seems to not be aligned with the column content, do you know why? Was the payment state column the only one centered? |
I added an nth-child selector to correct the alignment of the 'Payment State' heading. It's aligned according to the |
Thanks all. I took a look and noticed why the payment state was aligned wrong. There was broken code for showing a little coloured circle indicator on the payment state. Rather than try to explain it, I hope you don't mind that I went ahead and fixed, which now looks like this: @RachL can you please confirm this is a useful fix? Also I couldn't see mention of reducing the padding on the grey title row, so @mariocarabotta could you confirm that's desired? |
2004d1a
to
2dc2406
Compare
nice @dacook Yes this is useful, sorry for not noticing the missing circle 🤦♀️ |
@dacook Thanks, didn't notice the missing circle either. |
Now the correct class is added, we can see the little coloured circles again.
2dc2406
to
6e6854f
Compare
Hi @lauriejefferson, BeforeAfterNice! Everything is now left aligned. 🎉 |
What? Why?
To correct the alignment of the table header and table rows on the /admin/orders screen in feature-preview mode.
What should we test?
As a Hub admin or Superadmin:
3. Visit the orders page - admin/orders
4. Notice the mismatch on the table header vs table contents orientation
Release notes
Changelog Category (reviewers may add a label for the release notes):
The title of the pull request will be included in the release notes.
Dependencies
Documentation updates