Page 1 of 1

Panel showHeader=false no top border

Posted: 22 Jul 2019, 19:03
by Thorski
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;
  }
Thanks,

-- Thor