header button radius change

This commit is contained in:
Sonika 2023-12-27 13:25:55 +05:30
parent b6b3a7d422
commit 61bcdde399

View File

@ -75,7 +75,7 @@ function Header() {
display: { xs: 'block', md: 'none' }, display: { xs: 'block', md: 'none' },
}} }}
> >
{/* ... (existing code) */}
</Menu> </Menu>
</Box> </Box>
@ -86,6 +86,7 @@ function Header() {
sx={{ sx={{
mx: 2, mx: 2,
color: 'white', color: 'white',
borderRadius:0,
borderBottom: location.pathname === '/' ? '2px solid red' : 'none', borderBottom: location.pathname === '/' ? '2px solid red' : 'none',
}} }}
component={Link} component={Link}
@ -99,6 +100,7 @@ function Header() {
sx={{ sx={{
mx: 2, mx: 2,
color: 'white', color: 'white',
borderRadius:0,
borderBottom: location.pathname === '/projects' ? '2px solid red' : 'none', borderBottom: location.pathname === '/projects' ? '2px solid red' : 'none',
}} }}
component={Link} component={Link}
@ -112,6 +114,7 @@ function Header() {
sx={{ sx={{
mx: 2, mx: 2,
color: 'white', color: 'white',
borderRadius:0,
borderBottom: location.pathname === '/manage-users' ? '2px solid red' : 'none', borderBottom: location.pathname === '/manage-users' ? '2px solid red' : 'none',
}} }}
component={Link} component={Link}
@ -126,6 +129,7 @@ function Header() {
mx: 2, mx: 2,
color: 'white', color: 'white',
borderBottom: location.pathname === '/intranet-users' ? '2px solid red' : 'none', borderBottom: location.pathname === '/intranet-users' ? '2px solid red' : 'none',
borderRadius:0
}} }}
component={Link} component={Link}
to="/intranet-users" to="/intranet-users"