alfresco-ng2-components/lib/core/info-drawer/info-drawer.component.scss
Nicolas Barithel 88a5a57c46 Display icon and label in adf-info-drawer-tab (#3628)
- label is not displayed in case there is an icon set on the adf-info-drawer-tab
because it is using a mat-tab-label layout
2018-08-14 15:42:36 +01:00

52 lines
1.2 KiB
SCSS

.adf {
&-info-drawer {
display: block;
& &-layout {
&-content {
padding: 0;
& > :not(.adf-info-drawer-tabs) {
padding: 10px;
> * {
margin-bottom: 20px;
display: block;
}
}
.adf-info-drawer-tabs {
& .mat-tab-body-content > * {
margin-bottom: 20px;
display: block;
}
& .mat-tab-body-content > *:last-child {
margin-bottom: 0;
}
.mat-tab-label {
flex-grow: 1;
.mat-icon + span {
padding-left: 5px;
}
}
.mat-ink-bar {
height: 4px;
}
.mat-tab-body {
padding: 10px;
}
.mat-tab-body-content {
overflow: initial;
}
}
}
}
}
}