Object details: Fix tabs left padding when class has no medallion icon

This commit is contained in:
Molkobain
2021-04-01 23:37:45 +02:00
parent 8b894bf96b
commit 5f8eb26bff
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
*/
// Note: We use the child ">" selector to ensure this applies only the child tab container, not another one that would be nested
.ibo-object-details {
.ibo-object-details.ibo-has-medallion-icon {
> .ibo-panel--body {
> .ibo-tab-container {
> .ibo-tab-container--tabs-list {

View File

@@ -348,7 +348,7 @@ class Panel extends UIContentBlock
*/
public function IsIconAsMedallion(): bool
{
return $this->bIconAsMedallion;
return $this->HasIcon() && $this->bIconAsMedallion;
}
/**