mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #3965 - Refactor on Dropdown
This commit is contained in:
parent
22e6c7a53e
commit
ff403897d2
2 changed files with 2 additions and 6 deletions
|
@ -6,6 +6,7 @@ const styles = `
|
|||
.p-dropdown {
|
||||
display: inline-flex;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
@ -96,10 +97,6 @@ input.p-dropdown-label {
|
|||
}
|
||||
`;
|
||||
|
||||
const inlineStyles = {
|
||||
root: ({ props }) => ({ position: props.appendTo === 'self' ? 'relative' : undefined })
|
||||
};
|
||||
|
||||
const classes = {
|
||||
root: ({ props, state }) => [
|
||||
'p-dropdown p-component p-inputwrapper',
|
||||
|
@ -309,7 +306,6 @@ export default {
|
|||
}
|
||||
},
|
||||
css: {
|
||||
inlineStyles,
|
||||
classes,
|
||||
loadStyle
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue