Fixed #4553 - Image: toolbar unstyled mode fixes
parent
b6467d3c6f
commit
6b097a40d7
|
@ -10,7 +10,7 @@
|
|||
</button>
|
||||
<Portal>
|
||||
<div v-if="maskVisible" :ref="maskRef" v-focustrap role="dialog" :class="cx('mask')" :aria-modal="maskVisible" @click="onMaskClick" @keydown="onMaskKeydown" v-bind="ptm('mask')">
|
||||
<div class="p-image-toolbar" v-bind="ptm('toolbar')">
|
||||
<div :class="cx('toolbar')" v-bind="ptm('toolbar')">
|
||||
<button :class="cx('rotateRightButton')" @click="rotateRight" type="button" :aria-label="rightAriaLabel" v-bind="ptm('rotateRightButton')" data-pc-group-section="action">
|
||||
<slot name="refresh">
|
||||
<RefreshIcon v-bind="ptm('rotateRightIcon')" />
|
||||
|
|
|
@ -79,6 +79,7 @@ const classes = {
|
|||
button: 'p-image-preview-indicator',
|
||||
icon: 'p-image-preview-icon',
|
||||
mask: 'p-image-mask p-component-overlay p-component-overlay-enter',
|
||||
toolbar: 'p-image-toolbar',
|
||||
rotateRightButton: 'p-image-action p-link',
|
||||
rotateLeftButton: 'p-image-action p-link',
|
||||
zoomOutButton: ({ instance }) => [
|
||||
|
|
Loading…
Reference in New Issue