Reputation: 395
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?
Upvotes: 3
Views: 4100
Reputation: 39
this worked for TabMenu:
.p-menuitem-link {
border: none;
}
you can try the same on the names below:
:host ::ng-deep .p-tabview {
border: none;
}
https://primeng.org/tabview#style
Upvotes: 0
Reputation: 395
It worked this way:
:host ::ng-deep .ui-widget-content {
border: 0px;
}
The ::ngdeep you mentioned got me on the correct track :)
Upvotes: 2
Reputation: 6655
Try this in your CSS :
::ng-deep .ui-widget-header {
border: none;
}
Upvotes: 0