-
Notifications
You must be signed in to change notification settings - Fork 678
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
Breakpoint medium & large overlap #578
Comments
Sorry I hit enter early so my issue in the this comment: I'm new to tachyons, so maybe have misunderstood something, but the breakpoint behaviour is a little confusing. Medium and large overlap at 960px, so -m classes are still applicable for -l screens (for 1px only). Is this intended? I noticed it when I had a column layout in which medium screens require a border on one of the columns that looks daft when the columns rearrange on large screens. At exactly 960px the styles are broken, meaning I need to explicitly remove the border on large screens just to account for devices that are exactly 960px wide. |
I also found this issue - for now I've changed the breakpoints to pixels and made sure medium only went up to 959px |
This has been an issue for us in a current project. Any way this can be addressed? |
Perhaps a pull request. I switched over to Tailwind as when I opened this issue I was just experimenting with functional CSS trying to choose a library. I've built one big project and a few small ones with Tailwind and had no issues so far. |
This is very annoying. A grid system which does not work, it's confusing and utterly strange to say the least. Why isn't this addressed? I've been struggling for a while getting this to work as I can't have 3 different layouts, only 2. How am I supposed to make 3 different layouts for a div with 4 columns? mobile: 100% w |
2.5 years later & issue still not addressed. Not impressed. We have large project based on this CSS framework & no time to change it now... I thought I was doing something wrong, turns out the basic grid system is broken by 1px! |
Read the README.md. You can modify and generate your local copy of Tachyons with whenever values you like. After following the instructions on Local Setup, change
(If you don't want to download, install and build everything but this value, download the compiled Read below for explanation:
But now we have another issue: tachyons is using Set up this base Stackblitz to use as an example of the change proposed in this comment, if someone can show an example of where this bug occurs (and is fixed by the values mentioned above) I appreciate. |
@cristianofromagio yes, I get that.... The reason I use "css framework" is that I do not want to hack around css. If I wanted to mess around with compiling my own custom css values then I would not be here. Nevermind, I'm switching to more mature solution. |
@cristianofromagio While your post is productive and intentions are good, the solution for this is not hacking. Why this issue isn't solved and pushed to master is beyond me. The fix is done in 10 minutes and it'd be official. This is stupid. Please discontinue this repo and delete or mark it as closed. Go on, nothing to see here. |
This uses columns at large size so each of the options are presented as a column rather than a vertical linear flow. I hit a nasty tachyons bug applying this, where the width 960px was in both medium media queries and large media queries [1]. I've had to do some rather nasty CSS to get past that. [1]: tachyons-css/tachyons#578
No description provided.
The text was updated successfully, but these errors were encountered: