Skip to content
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 admin payment actions style table issue #2589

Merged
merged 1 commit into from
Mar 6, 2018
Merged

Fix admin payment actions style table issue #2589

merged 1 commit into from
Mar 6, 2018

Conversation

jtapia
Copy link
Contributor

@jtapia jtapia commented Feb 20, 2018

What it does?

  • Fix for admin tables on resolutions < 1200px

Solves: #2535

Preview

http://recordit.co/hR8Qjd0k61

Reference

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for trying to fix this, but we can’t just transform all tables in the admin into flexboxes.

A scrolling container around the tables (I think bootstrap has something for responsive tables) could be a less intrusive solution.

@jtapia
Copy link
Contributor Author

jtapia commented Feb 20, 2018

@tvdeyen I just changed the approach, what do you think?

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still one question.

@@ -1,4 +1,4 @@
<table class="index" id='payments' data-order-id='<%= @order.number %>'>
<table class="index table table-sm table-responsive" id='payments' data-order-id='<%= @order.number %>'>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we not change the table style here? Won’t adding just table-responsive be enough to fix the issue?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just tested it and yes, we can use only table-responsive, I sent the changes https://github.com/solidusio/solidus/pull/2589/files

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Copy link
Contributor

@jhawthorn jhawthorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@jhawthorn jhawthorn merged commit dbb0ee3 into solidusio:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants