Skip to content
Snippets Groups Projects
Commit e51c5ad5 authored by jojohoch's avatar jojohoch
Browse files

[editor] Fix page tabs layout in UnitViewComponent

parent 6d4e5b7a
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,7 @@
display: inherit;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
::ng-deep .mat-drawer-content .mat-tab-body-wrapper {
::ng-deep .mat-drawer-content .mat-mdc-tab-body-wrapper {
height: 100%;
}
......@@ -62,7 +61,6 @@
padding: 0 16px;
}
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
mat-checkbox.menuItem {
padding: 0 16px 10px 16px;
}
......@@ -71,15 +69,14 @@ mat-divider {
margin-bottom: 10px;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
::ng-deep .mat-tab-label:hover .menu-button {
::ng-deep .mdc-tab:hover .menu-button {
visibility: visible;
}
.menu-button {
position: absolute;
left: 130px;
bottom: 6px;
left: 80%;
visibility: hidden;
}
......
......@@ -13,7 +13,7 @@
<mat-drawer-content>
<mat-tab-group *ngIf="pagesLoaded"
[style.height.%]="100" mat-align-tabs="start"
[style.height.%]="100" mat-align-tabs="start" mat-stretch-tabs="false"
[selectedIndex]="selectedPageIndex"
(selectedIndexChange)="selectPage($event)">
<mat-tab *ngFor="let page of unitService.unit.pages; let i = index">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment