Refactored SpeedDial

pull/5677/head
Cagatay Civici 2024-04-08 00:36:28 +03:00
parent 9734973a78
commit b194e20290
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ const classes = {
`p-speeddial p-component p-speeddial-${props.type}`,
{
[`p-speeddial-direction-${props.direction}`]: props.type !== 'circle',
'p-speeddial-opened': instance.d_visible,
'p-speeddial-open': instance.d_visible,
'p-disabled': props.disabled
}
],

View File

@ -89,16 +89,16 @@ export default {
transition: opacity 150ms;
}
.p-speeddial-opened .p-speeddial-list {
.p-speeddial-open .p-speeddial-list {
pointer-events: auto;
}
.p-speeddial-opened .p-speeddial-item {
.p-speeddial-open .p-speeddial-item {
transform: scale(1);
opacity: 1;
}
.p-speeddial-opened .p-speeddial-rotate {
.p-speeddial-open .p-speeddial-rotate {
transform: rotate(45deg);
}
`