This commit is contained in:
leejinho 2020-02-14 12:31:27 +09:00
commit b9ec6d7425
6 changed files with 15 additions and 7 deletions

View File

@ -50,7 +50,7 @@
} }
} }
&.mat-tab-label-active { &.mat-tab-label-active {
min-width: 0 !important; opacity: 0;
} }
&[aria-selected='true'] { &[aria-selected='true'] {
opacity: 1; opacity: 1;
@ -63,8 +63,7 @@
} }
} }
.mat-ink-bar { .mat-ink-bar {
background-color: none; opacity: 0;
height: 0;
} }
} }
} }

View File

@ -12,7 +12,7 @@
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div fxFlex class="clipboard-tab"> <div fxFlex class="clipboard-tab">
<mat-tab-group animationDuration="0ms"> <mat-tab-group animationDuration="0ms" vertical>
<mat-tab *ngIf="data.content.text"> <mat-tab *ngIf="data.content.text">
<ng-template mat-tab-label> <ng-template mat-tab-label>
<mat-checkbox #chkText> </mat-checkbox> <mat-checkbox #chkText> </mat-checkbox>

View File

@ -12,7 +12,7 @@
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
<div fxFlex class="setting-tab"> <div fxFlex class="setting-tab">
<mat-tab-group animationDuration="0ms"> <mat-tab-group animationDuration="0ms" vertical>
<mat-tab class="setting"> <mat-tab class="setting">
<ng-template mat-tab-label> <ng-template mat-tab-label>
<span class="mdi mdi-settings"></span> <span class="mdi mdi-settings"></span>

View File

@ -401,13 +401,21 @@ $daesang-grey: (
} }
} }
/*mat-tab-group[horizontal] {
&.theme-list {
.mat-tab-label {
flex-direction: row;
}
}
}*/
mat-tab-group[vertical] { mat-tab-group[vertical] {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
.mat-tab-labels { .mat-tab-labels {
display: flex; display: flex;
flex-direction: column !important; flex-direction: column;
align-content: flex-start; align-content: flex-start;
.mat-tab-label { .mat-tab-label {

View File

@ -18,6 +18,7 @@
animationDuration="0ms" animationDuration="0ms"
(selectedTabChange)="onSelectedTabChange($event)" (selectedTabChange)="onSelectedTabChange($event)"
fxLayout="row" fxLayout="row"
horizontal
class="theme-list" class="theme-list"
> >
<mat-tab> <mat-tab>

View File

@ -29,7 +29,7 @@
.mat-tab-labels { .mat-tab-labels {
position: relative; position: relative;
width: 100%; width: 100%;
flex-direction: row; flex-direction: row !important;
.mat-tab-label { .mat-tab-label {
width: 140px; width: 140px;
height: 120px; height: 120px;