N°3191 - Fix icon padding on object summary when no icon

This commit is contained in:
Stephen Abello
2023-04-18 15:50:14 +02:00
parent 41b4ef357f
commit e8c9255e0a

View File

@@ -43,10 +43,7 @@ $ibo-object-summary--content--attributes--code--padding-right: $ibo-spacing-500
border: $ibo-object-summary--icon--border--as-medallion;
border-radius: $ibo-panel--icon--border-radius--as-medallion;
}
// We duplicate this rule from _panel.scss as a protection was added and disallow titles and header that are not direct child of panel
.ibo-panel--titles {
padding-left: $ibo-object-summary--titles--padding-left;
}
// We duplicate this rule from _panel.scss as a protection was added and disallow titles and header that are not direct child of panel
.ibo-panel--header-left{
margin-left: $ibo-object-summary--header-left--margin-left;
@@ -58,6 +55,11 @@ $ibo-object-summary--content--attributes--code--padding-right: $ibo-spacing-500
}
}
// We duplicate this rule from _panel.scss as a protection was added and disallow titles and header that are not direct child of panel
.ibo-object-summary.ibo-has-medallion-icon .ibo-panel--titles{
padding-left: $ibo-object-summary--titles--padding-left;
}
.ibo-object-summary > .ibo-panel--body{
padding-top: $ibo-object-summary--panel--padding-top;
box-shadow: $ibo-object-summary--panel--padding-box-shadow;