Comments (8)
yes its not working
from material-kit-react.
Bump!
from material-kit-react.
Change line 33 to
{ path: '/', element: <Navigate to="/login" /> },
Default route will now point to login when running localhost:3000
from material-kit-react.
The problem is with the xlUp and lgDown in the hidden components in DashboardNavbar and DashboardSidebar. It leaves the lg option with both parts hidden as seen in the picture.
When changing both to xlUp and xlDown or lgUp and lgDown it works just fine.
from material-kit-react.
if you increase the width above 1550 it works
from material-kit-react.
Changes for everything to work normally as expected!!
- In DashboardNavbar.js change 27 to 45:
<Hidden only={['xs', 'md', 'sm']}> <IconButton color="inherit" size="large"> <Badge badgeContent={notifications.length} color="primary" variant="dot" > <NotificationsIcon /> </Badge> </IconButton> <IconButton color="inherit" size="large"> <InputIcon /> </IconButton> </Hidden> <Hidden only={['lg', 'xl']}> <IconButton color="inherit" onClick={onMobileNavOpen} size="large"> <MenuIcon /> </IconButton> </Hidden>
-
DashboardSidebar.js
Change the line 134 to 165:
`{openMobile && (
<Drawer
anchor="left"
onClose={onMobileClose}
open={openMobile}
variant="temporary"
PaperProps={{
sx: {
width: 256
}
}}
>
{content}
)}<Hidden only={['xs', 'md', 'sm']}>
<Drawer
anchor="left"
open
variant="persistent"
PaperProps={{
sx: {
width: 256,
top: 64,
height: 'calc(100% - 64px)'
}
}}
>
{content}
`
from material-kit-react.
We updated the design and this includes a fix for the sidebar.
from material-kit-react.
from material-kit-react.
Related Issues (20)
- How do I integrate redux? HOT 2
- Can not make it work HOT 1
- How to create multiple menu?
- A PostCSS Plugin was passed as a function using require(), but it must be provided as a string
- Uncaught Error while using `useRoutes`: A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>. HOT 1
- still supporting CRA in free or pro version? HOT 1
- How to keep loading screen on until the end of data call for the edit post screen? HOT 1
- running error HOT 3
- Error "Module not found" HOT 3
- Demo has error
- Running Error - #130 Similarity HOT 1
- next export lacking all html tags
- The navbar toggle button doesn't work HOT 3
- How to pass an initial array into useSelection?
- Link to Figma file broken HOT 4
- Devias Dashboard Design Library Kit broken Link HOT 3
- Free Figma Comunity File Not Found (404) HOT 2
- project is not running with nextJS 14.0.4 HOT 4
- Please support 5.15.14 HOT 1
- Property 'signUp' does not exist on type 'AuthClient'. Did you mean 'SignUp'?
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-kit-react.