Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove borders from tabView in PrimeNG

Tags:

html

css

primeng

I am trying to remove the borders from the p-tabView element without any success by setting the following:

<p-tabView style='border: 0px;'>

When I remove the border in the developer tools for the styling of the element

body .ui-widget-content

it works. Anyone any idea where and how I can specify this in my html/css?

like image 629
YourReflection Avatar asked Feb 25 '26 13:02

YourReflection


1 Answers

It worked this way:

:host ::ng-deep .ui-widget-content {
   border: 0px;
}

The ::ngdeep you mentioned got me on the correct track :)

like image 89
YourReflection Avatar answered Feb 27 '26 03:02

YourReflection