When using an angular element for a directive with "display: block", it may not automatically take up 100% of the width of the parent container. In order to ensure that it does, the width must be explicitly set to "100%" in the CSS. Despite setting "width: 100%", it is still unclear why this is necessary as "display: block" should imply full width, especially since nothing else is explicitly setting the width of the element (unless Angular is doing so automatically).
While I am happy to provide an example of the HTML code where this issue is occurring, it appears to be happening across various Angular elements and does not seem to be related to any JavaScript within the directive file.