carbon-components-svelte/docs
metonym 1ccdf64504
feat(slider): add fullWidth prop (#1354)
The `bx--slider` class in the `Slider` component has max-width of `40rem`. Because `$$restProps` is spread to the top-level `div` element in `Slider`, the only way to override the style is to do so globally:

```css
:global(.bx--slider-container) {
  width: 100%;
}

:global(.bx--slider) {
  max-width: none;
}
```

This adds a `fullWidth` prop that sets a full width style using inline style attributes.
2022-06-18 12:47:10 -07:00
..
public docs: remove vercel, add Deploy to Render button (#832) 2021-09-29 09:49:15 -07:00
src feat(slider): add fullWidth prop (#1354) 2022-06-18 12:47:10 -07:00
.gitignore docs: add new component docs 2020-10-02 20:13:02 -07:00
index.html Improve documentation (#730) 2021-07-08 16:30:53 -07:00
package.json refactor: use icons from carbon-icons-svelte@11 (#1227) 2022-04-03 11:57:28 -07:00
svelte.config.js docs(action): generate action imports (#1274) 2022-04-30 08:47:21 -07:00
vite.config.js Switch from svite to vite + vite-plugin-svelte. (#962) 2021-12-31 10:11:48 -08:00
yarn.lock build(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#1235) 2022-04-09 14:16:31 -07:00