Skip to content

[material-ui][Slider] Labels of the marks goes beyond the block #40544

Open
@DonikaV

Description

@DonikaV

Steps to reproduce

Link to live example: (required)

Steps:

  1. Put Slider component to the page
  2. Add marks min and max
  3. Marks goes beyond the block

Current behavior

No response

Expected behavior

Marks fit the parent container

Context

image As you can see they are not in the container

Your environment

npx @mui/envinfo
  System:
    OS: macOS 14.1.2
  Binaries:
    Node: 20.9.0 - /usr/local/bin/node
    npm: 10.1.0 - /usr/local/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 120.0.6099.216
    Edge: Not Found
    Safari: 17.1.2
  npmPackages:
    @emotion/react: ^11.11.3 => 11.11.3 
    @emotion/styled: ^11.11.0 => 11.11.0 
    @mui/base:  5.0.0-beta.31 
    @mui/core-downloads-tracker:  5.15.4 
    @mui/icons-material: ^5.15.4 => 5.15.4 
    @mui/material: ^5.15.4 => 5.15.4 
    @mui/material-nextjs: ^5.15.3 => 5.15.4 
    @mui/private-theming:  5.15.4 
    @mui/styled-engine:  5.15.4 
    @mui/system:  5.15.4 
    @mui/types:  7.2.13 
    @mui/utils:  5.15.4 
    @mui/x-date-pickers: ^6.18.7 => 6.18.7 
    @types/react: ^18.2.47 => 18.2.47 
    react: ^18.2.0 => 18.2.0 
    react-dom: ^18.2.0 => 18.2.0 
    typescript: ^5.3.3 => 5.3.3 
</details>


**Search keywords**: slider

Metadata

Metadata

Assignees

Labels

component: sliderThis is the name of the generic UI component, not the React module!package: material-uiSpecific to @mui/material

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions