Comments (1)
using borderTopStyle each pseudo elements(::before, ::after).
like this, demo.
const StyledDivider = styled(Divider)(({}) => ({
'&::before': {
width: '3.75rem',
flex: '0 0 3.75rem',
borderTopStyle: 'dashed',
},
'&::after': {
borderTopStyle: 'dashed',
},
}));
this issue occurs file Divider.js
.
const DividerRoot = styled('div', {
...
{
props: ({ ownerState }) => {
console.log('ownerState', ownerState);
return ;
},
style: {
'&::before, &::after': {
width: '100%',
borderTop: `thin solid ${(theme.vars || theme).palette.divider}`, // this line!!
},
},
},
...
}));
from material-ui.
Related Issues (20)
- [Checkbox] Checkbox color prop don't honor passed in color when theme has default props for MuiSvgIcon HOT 3
- [joy-ui] Cannot set `color` or `bgcolor` of `Box` when used in Next.js HOT 1
- [Breadcrumbs] Allow overriding `onClick` button base of ellipsis icon
- [Alert] TS error when using slotProps with customised component HOT 4
- [react 19][tooltip] Accessing element.ref was removed in React 19
- [material-ui] Prototype pollution security vulnerabililty in @mui/utils HOT 8
- [material-ui] Sign-in template improvements
- [material-ui] Dashboard template improvements
- [material-ui][Masonry] layout forms a single column when the first item is hidden HOT 4
- MUI Joy UI Autocomplete crashing my app HOT 2
- [docs][Snackbar] Stop recommending the usage of notistack, the library is seemingly no longer (properly) maintained HOT 2
- Include the fix for pollution vulnerability in deepmerge in version 5 HOT 3
- ChromeVox unable to linearly navigate into Dialog
- SwipeableDrawer Flickering behavior HOT 4
- [Autocomplete] Impossible to set aria-label on html input of TextField HOT 3
- [Stack] Allows clearing of `margin-left` property of child items.
- Material Icons has bug in syntax HOT 3
- [material-ui] Add `PropsProvider` for Pigment CSS integration
- [docs] Popover flip HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.