The height of p-scroller depends on its content height.
Keep in mind that the content passed to the p-scroller should be within the size definition of the design system and
thus have a minimum height of 24px to ensure visual alignment of the scroll indicators.
The p-scroller only takes care of the horizontal alignment. Spacing and custom css properties must be handled by the
consumer e.g. white-space: nowrap to avoid line breaks inside the elements.
prev
next
Some tag contentSome tag contentSome tag contentSome tag contentSome tag content
prev
next
Open in Stackblitz
<!doctype html>
<htmllang="en"class="auto"><head><title></title></head><bodyclass="bg-base"><p-scrollerclass="max-w-[600px] whitespace-nowrap"><p-tag-dismissibleclass="me-static-md"> Some tag content
</p-tag-dismissible><p-tag-dismissibleclass="me-static-md"> Some tag content
</p-tag-dismissible><p-tag-dismissibleclass="me-static-md"> Some tag content
</p-tag-dismissible><p-tag-dismissibleclass="me-static-md"> Some tag content
</p-tag-dismissible><p-tag-dismissibleclass="me-static-md"> Some tag content
</p-tag-dismissible></p-scroller><script></script></body></html>