Closed spuxx1701 closed 1 year ago
It appears that empty portal targets do not match the :empty CSS selector. An example:
<PortalTarget @name='my-portal-target' class='portal-target' />
.portal-target:empty { display: none; }
Does not result in the element receiving that pseudo-class. I'm not entirely sure whether that can be fixed, but it'd be extremely helpful to be able to hide portal-targets via CSS in case they're unused.
It appears that empty portal targets do not match the :empty CSS selector. An example:
Does not result in the element receiving that pseudo-class. I'm not entirely sure whether that can be fixed, but it'd be extremely helpful to be able to hide portal-targets via CSS in case they're unused.