Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next] [NcRichText] Add style to mount point for custom picker and custom widget elements #6140

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<div v-else-if="mode === MODES.customElement"
class="custom-element-wrapper">
<NcCustomPickerElement :provider="selectedProvider"
class="custom-element"
@submit="submitLink"
@cancel="cancelCustomElement" />
</div>
Expand Down Expand Up @@ -180,6 +181,11 @@ export default {
display: flex;
overflow-y: auto;
width: 100%;
.custom-element {
display: flex;
overflow-y: auto;
width: 100%;
}
}
}
</style>
1 change: 1 addition & 0 deletions src/components/NcRichText/NcReferenceWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export default {

// create a separate element so we can rerender on the ref again
const widget = document.createElement('div')
widget.style = 'width: 100%;'
this.$refs.customWidget.appendChild(widget)
this.$nextTick(() => {
// Waiting for the ref to become available
Expand Down
Loading