I’m in the process of upgrading a site from v13 > v17, and am trying to re-create a fix which was previously achieved by simply adding a stylesheet to the backoffice.
When using the ‘create’ menu on a list view, the end may be cut off if the list is too long:
Previously we had fixed this by setting the overflow properties in CSS, but with everything in the shadow DOM, this is no longer possible.
It looks like my best bet is to extend the component and add the fix in that way (this post talks about doing that for property editors), but that seems way overkill. Does anyone know of a different solution?
i saw this but didnt try it out myself so i am not sure, use a backofficeEntryPoint extension to inject a stylesheet into the document. Create the following files in your App_Plugins folder:
The catch is that global CSS still won’t pierce the shadow DOM directly — however, CSS custom properties (--umb-* variables) do inherit through the shadow boundary. So inspect the list view dropdown in DevTools and look for any --umb-* variables controlling overflow or z-index that you can override via :root.
If no CSS variables are exposed for that specific element, then unfortunately extending the component is the proper v17 path but it’s worth checking DevTools first as it might save you the effort.
You can also pierce the shadow dom, to manipulate the item… think I had to refresh to get it to update, as this was linked to editor manipulated alignment and size.
You might not need that part.