File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -269,7 +269,9 @@ const isInfo = ref({
269269 :style =" `z-index: ${zIndex}; height: 34px; position: ${isFullscreen ? 'fixed' : 'absolute'}; top: 0; ${position === 'right' ? `right:${isFullscreen ? '12px': '0'}` : `left:${isFullscreen ? '12px' : '0'}`}; padding: 4px; background:transparent;`" >
270270
271271 <div tabindex =" 0" :title =" isOpen ? titles.close || '' : titles.open || ''" data-cy =" user-options-summary" :style =" `width:32px; position: absolute; top: 0;${position === 'right' ? `right: ${offsetX ? offsetX : noOffset ? 0 : 4}px` : `left: ${noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`" @click.stop =" toggle" @keypress.enter =" toggle" >
272- <BaseIcon :name =" isOpen ? 'close' : 'menu'" :stroke =" color" :stroke-width =" 2" />
272+ <slot name =" menuIcon" v-bind =" { isOpen, color }" >
273+ <BaseIcon :name =" isOpen ? 'close' : 'menu'" :stroke =" color" :stroke-width =" 2" />
274+ </slot >
273275 </div >
274276 <div :data-open =" isOpen" data-cy =" user-options-drawer" :class =" {'vue-ui-user-options-drawer': true}" :style =" `background:${backgroundColor}; ${position === 'right' ? `right: ${offsetX ? offsetX : noOffset ? 0 : 4}px` : `left: ${noOffset ? 0 : 4}px`}`" >
275277
You can’t perform that action at this time.
0 commit comments