.setting-frame { padding: 16px; height: 100%; min-width: 500px; position: relative; .mat-dialog-container { position: relative; } .mat-card-header { position: relative; width: 100%; border-bottom: 1px solid #dddddd; margin-bottom: 12px; .btn-dialog-close { font-size: 20px; display: flex; margin-left: auto; align-self: flex-start; color: #444444; } } .mat-card-content { flex: 0 0 auto; display: flex; align-items: flex-start; height: calc(100% - 100px); border-bottom: 1px solid #dddddd; .setting-tab { position: relative; width: 100%; height: 100%; .mat-tab-group { display: flex; flex-direction: row; position: relative; height: 100%; width: 100%; } } } .button-farm { text-align: right; position: absolute; width: 100%; bottom: 10px; margin: 0 -16px; .mat-primary { margin-left: 4px; } } } ::ng-deep .setting-tab { .mat-tab-header { border: none !important; .mat-tab-labels { flex-direction: column; justify-content: start; border: none; height: 100%; .mat-tab-label { padding: 0 10px; align-content: flex-start; text-align: left; align-items: center; justify-content: flex-start; &.mat-tab-label-active { opacity: 1; } } } .mat-ink-bar { display: none; } } .mat-tab-body-wrapper { flex: 1 1 auto; border-left: 1px solid #dddddd; } }