You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vueform is using a mobile-first breakpoint system when it comes to resizing columns on different devices and viewport sizes. The default breakpoints are based on Tailwind CSS: https://tailwindcss.com/docs/responsive-design
253
+
254
+
By default the `tablet` breakpoint will use `sm` and `desktop` will use `lg`, which means that column sizing made under `tablet` view will have effect on `sm` breakpoint and up and the same is true for `desktop` with `lg`. If you want to change these to eg. `tablet` -> `md` first you need to update the `breakpoints.tablet.breakpoint` to `md` in the config. Second you need to include the `scss` version of Vueform Builder's styles and set `$vfb-tablet-breakpoint` to `md` as well. Here's an example:
255
+
256
+
```css
257
+
/* Your original CSS import */
258
+
259
+
@import"@vueform/builder/index.css";
260
+
```
261
+
262
+
Replace it with the following in a file where you can import `scss` and make sure you have an scss loader:
263
+
264
+
```scss
265
+
/* Using SCSS import instead of CSS with a custom variable */
266
+
267
+
$vfb-tablet-breakpoint: 'md';
268
+
269
+
@import"@vueform/builder/scss/index.scss";
270
+
```
271
+
272
+
If you want to change the breakpoint related to `desktop`, you can use `$vfb-desktop-breakpoint` variable.
273
+
237
274
## Elements
238
275
239
276
The following options configure the available elements & element categories.
@@ -5422,6 +5459,8 @@ export default {
5422
5459
}
5423
5460
```
5424
5461
5462
+
Containers and lists containing an element with disabled features will also have their features disabled. This is true for each from above except `edit`.
5463
+
5425
5464
## Available Element Types
5426
5465
5427
5466
Here's the list of available element types that can be used:
0 commit comments