carbon-components-svelte/src/Slider
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
..
index.js refactor: update/fix JSDoc props 2020-11-04 06:04:25 -08:00
Slider.svelte feat(slider): add fullWidth prop (#1354) 2022-06-18 12:47:10 -07:00
SliderSkeleton.svelte Fix a11y-mouse-events warning, update docs (#765) 2021-07-26 08:40:05 -07:00