mobile responsive: 'stacked' view, shows 3 columns instead of 2 and breaks display
See original GitHub issueExpected Behavior
The mobile view with responsive:'stacked'
should render 2 columns with KEY - VALUE each taking 50% of the screen Like this screenshot
https://static.brantu.com/images/content/medium/LRPZ8Vq0r-3ba5f2ddd95e5d34.png
Current Behavior
The table displays 3 columns, with this shape KEY VALUE KEY VALUE KEY VALUE and so on…
like this screenshot https://static.brantu.com/images/content/medium/3qvvul6EG-d15ab1a2d934bd36.png
Steps to Reproduce (for bugs)
- display any data while passing
responsive:'stacked'
in options, or not, it falls back to this as default anyway.
Your Environment
Tech | Version |
---|---|
@material-ui/core | ^3.9.2 |
MUI-datatables | ^2.0.0-beta.56 |
React | ^16.7.0 |
browser | Chrome |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (1 by maintainers)
Top Results From Across the Web
How to Stack Columns in Responsive Emails - Litmus
Using CSS media queries You can create two columns simply by creating a two-column table and then using classes to have the columns...
Read more >How To Keep Columns Side-By-Side On Mobile in Divi - Ezoic
Go to your row settings of the row that has 4+ “stacked” columns. ... to make 2-3 elements appear side-by-side on mobile and...
Read more >How to Control Responsive Column Layouts in Elementor ...
Until this week, with Elementor you were stuck with the column layout in tablet view being the same as on desktop. In a...
Read more >How to Keep Columns on Mobile in Divi - YouTube
For links, resources and the code shown in the tutorial, head over to: https://joshhall.co/how-to-keep- columns -on- mobile -in-diviIf you're ...
Read more >How to Keep Columns on Mobile in Divi - JoshHall.co
I found myself in a scenario where there's 2 columns in a row. However, the blurbs I wish to present 3 across on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi again, in my case, the issue got resolved by removing the following in src/index.css
*, *:before, *:after { box-sizing: inherit; } */
Now, it looks great
I got the same problem. Responsiveness stacked with two kolumns of key-value-pairs works down until 482px width, at which point it breaks and displays three columns at lower widths. Tested both in Chrome and Safari in responsive view.