mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
Object details: Fix tabs left padding when class has no medallion icon
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -348,7 +348,7 @@ class Panel extends UIContentBlock
|
||||
*/
|
||||
public function IsIconAsMedallion(): bool
|
||||
{
|
||||
return $this->bIconAsMedallion;
|
||||
return $this->HasIcon() && $this->bIconAsMedallion;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user