mirror of https://github.com/nextcloud/calendar
Make sure popover editor does not leave boundaries
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
3cd3046fd7
commit
e451a82270
|
@ -666,6 +666,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[x-out-of-boundaries] {
|
||||
margin-top: 75px;
|
||||
}
|
||||
}
|
||||
|
||||
.event-popover.tooltip[x-placement^='bottom'] {
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
:open="isOpen"
|
||||
:auto-hide="false"
|
||||
:placement="placement"
|
||||
boundaries-element="#app-content"
|
||||
:boundaries-element="boundaryElement"
|
||||
open-class="event-popover"
|
||||
trigger="manual">
|
||||
<PopoverLoadingIndicator
|
||||
|
@ -144,6 +144,7 @@ export default {
|
|||
isOpen: false,
|
||||
hasLocation: false,
|
||||
hasDescription: false,
|
||||
boundaryElement: document.querySelector('#app-content > .fc'),
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
Loading…
Reference in New Issue