mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Fixed #4821 - Dock responsiveness updates
This commit is contained in:
parent
e417c5b6c2
commit
af504277ba
60 changed files with 1051 additions and 1141 deletions
|
@ -111,7 +111,13 @@ const css = `
|
|||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => ['p-dock p-component', `p-dock-${props.position}`],
|
||||
root: ({ instance, props }) => [
|
||||
'p-dock p-component',
|
||||
`p-dock-${props.position}`,
|
||||
{
|
||||
'p-dock-mobile': instance.queryMatches
|
||||
}
|
||||
],
|
||||
container: 'p-dock-list-container',
|
||||
menu: 'p-dock-list',
|
||||
menuitem: ({ instance, processedItem, index, id }) => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue