Title: min_width needs better docs · Issue #174 · gridstack/gridstack.js · GitHub
Open Graph Title: min_width needs better docs · Issue #174 · gridstack/gridstack.js
X Title: min_width needs better docs · Issue #174 · gridstack/gridstack.js
Description: Hi!, Docs says: min_width - minimal width. If window width is less, grid will be shown in one-column mode (default: 768) However, thats not true. Without overriding CSS media query, lesser values won't be taken into account (yeah, grid w...
Open Graph Description: Hi!, Docs says: min_width - minimal width. If window width is less, grid will be shown in one-column mode (default: 768) However, thats not true. Without overriding CSS media query, lesser values w...
X Description: Hi!, Docs says: min_width - minimal width. If window width is less, grid will be shown in one-column mode (default: 768) However, thats not true. Without overriding CSS media query, lesser values w...
Opengraph URL: https://github.com/gridstack/gridstack.js/issues/174
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"min_width needs better docs","articleBody":"Hi!,\nDocs says:\n- `min_width` - minimal width. If window width is less, grid will be shown in one-column mode (default: `768`)\n\nHowever, thats not true. Without overriding CSS media query, lesser values won't be taken into account (yeah, grid will be locked, but it still goes one column mode earlier than expeced)\n\n``` css\n# responsible line\n@media (max-width: 768px) {}\n```\n\nI'm not really sure, but something like might help:\n\n``` javascript\ndocument.querySelector('style').textContent +=\n \"@media (max-width: 768px) { .grid-stack-item { /*undo styles?*/ }}\"\n```\n","author":{"url":"https://github.com/pySilver","@type":"Person","name":"pySilver"},"datePublished":"2015-06-28T21:14:34Z","url":"https://github.com/gridstack/gridstack.js/issues/174"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a10df37e-12e9-3c71-737e-b977019f4f91 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B288:1F2802:67BB7:8AE71:6AFF5D90 |
| html-safe-nonce | 16556da92674ace5887085bbe5ba8e9988c60e4f0a7a9bee4cf647f929764209 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjg4OjFGMjgwMjo2N0JCNzo4QUU3MTo2QUZGNUQ5MCIsInZpc2l0b3JfaWQiOiI3OTQwOTk4NTA5MzIwODQxMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ce035f16ddf7ddc46d26f5fde68dc80e3030eef717f8ee84116199403e0c991 |
| hovercard-subject-tag | issue:91640614 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gridstack/gridstack.js/174/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96efb888a04facb6fd4f610afa676cb614f26f28e49f58b238fe2a1d684e005f/gridstack/gridstack.js/issues/174 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96efb888a04facb6fd4f610afa676cb614f26f28e49f58b238fe2a1d684e005f/gridstack/gridstack.js/issues/174 |
| og:image:alt | Hi!, Docs says: min_width - minimal width. If window width is less, grid will be shown in one-column mode (default: 768) However, thats not true. Without overriding CSS media query, lesser values w... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pySilver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2422ccd4bc783f932948cce4871cb9e0622bab749db07f387c9631b7e6834d1f |
| turbo-cache-control | no-preview |
| go-import | github.com/gridstack/gridstack.js git https://github.com/gridstack/gridstack.js.git |
| octolytics-dimension-user_id | 31674162 |
| octolytics-dimension-user_login | gridstack |
| octolytics-dimension-repository_id | 26417283 |
| octolytics-dimension-repository_nwo | gridstack/gridstack.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26417283 |
| octolytics-dimension-repository_network_root_nwo | gridstack/gridstack.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2a39546baeb98186e651a01d5d7aa6465825eeb1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width