Remove borders on overlays for Material

pull/6537/head
Cagatay Civici 2024-10-04 23:12:44 +03:00
parent 99ec7dce3a
commit d36e9b5e61
5 changed files with 15 additions and 5 deletions

View File

@ -1,7 +1,7 @@
export default {
root: {
background: '{content.background}',
borderColor: '{content.border.color}',
borderColor: 'transparent',
color: '{content.color}',
borderRadius: '{content.border.radius}',
shadow: '{overlay.navigation.shadow}',

View File

@ -36,7 +36,7 @@ export default {
overlay: {
padding: '0',
background: '{content.background}',
borderColor: '{content.border.color}',
borderColor: 'transparent',
borderRadius: '{content.border.radius}',
color: '{content.color}',
shadow: '{overlay.navigation.shadow}',

View File

@ -31,5 +31,10 @@ export default {
},
separator: {
borderColor: '{content.border.color}'
}
},
css: ({ dt }) => `
.p-menu-overlay {
border-color: transparent;
}
`
};

View File

@ -31,7 +31,7 @@ export default {
padding: '{navigation.list.padding}',
gap: '{navigation.list.gap}',
background: '{content.background}',
borderColor: '{content.border.color}',
borderColor: 'transparent',
borderRadius: '{content.border.radius}',
shadow: '{overlay.navigation.shadow}',
mobileIndent: '1rem'

View File

@ -43,5 +43,10 @@ export default {
},
separator: {
borderColor: '{content.border.color}'
}
},
css: ({ dt }) => `
.p-tieredmenu-overlay {
border-color: transparent;
}
`
};