Panel showHeader=false no top border

UI Components for Angular
Post Reply
Posts: 2
Joined: 31 Jan 2018, 15:30

22 Jul 2019, 19:03

If showHeader is set to false on a panel, there is NO top border, at least with the free themes.

Shouldn't the border be set if showHeader parameter seems useless unless it adjusts the border. I had to add this to fix it:

Code: Select all

  :host ::ng-deep .ui-panel .ui-panel-content {
    border-top: 1px solid #c8c8c8; 
Here is the css from nova-colored theme that removes the top border:

Code: Select all

  body .ui-panel .ui-panel-content {
    padding: 0.571em 1em;
    border: 1px solid #c8c8c8;
    background-color: #ffffff;
    color: #333333;
    padding: 0.571em 1em;
    border-top: 0 none;

-- Thor

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest