diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.css b/apps/datahub/src/app/record/record-metadata/record-metadata.component.css index e3a0105a26..55d8c876f6 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.css +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.css @@ -1,3 +1,8 @@ +/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */ +::ng-deep .mat-mdc-tab-labels { + /* move tabs on the right to let the title show */ + margin-left: 140px; +} ::ng-deep .mat-mdc-tab.mdc-tab { letter-spacing: 0.88px; } @@ -16,6 +21,9 @@ } @media only screen and (max-width: 639px) { /* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */ + ::ng-deep .mat-mdc-tab-labels { + margin-left: 0px; + } ::ng-deep .mat-mdc-tab.mdc-tab { padding: 0px !important; margin-right: 24px; diff --git a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html index 12a73987d8..62a7e5abab 100644 --- a/apps/datahub/src/app/record/record-metadata/record-metadata.component.html +++ b/apps/datahub/src/app/record/record-metadata/record-metadata.component.html @@ -79,9 +79,7 @@ > - record.tab.map + record.tab.map
-
+