Skip to content

Commit

Permalink
fix: fix maturity height issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed May 8, 2020
1 parent 38af640 commit f27d6cb
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:host {
font-size: 16px;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<ul id="markdown-rating" *ngIf="data">
<li *ngFor="let task of data;let i = index;">
<div id="markdown-rating" *ngIf="data">
<div *ngFor="let task of data;let i = index;">
<component-rating-item
[item]="task"
(itemChange)="changeForm($event, task, i)">
</component-rating-item>

<component-todo [disableInput]="true" [toDos]="task.children"></component-todo>
</li>
</ul>
<component-todo *ngIf="task.children" [disableInput]="true" [toDos]="task.children"></component-todo>
</div>
</div>
2 changes: 1 addition & 1 deletion src/assets/docs/maturities/arch.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```maturity
- 架构设计成熟度模型
- API 设计
- API 设计: 0
- 分层架构设计
- 模型设计
- 领域设计
Expand Down
1 change: 1 addition & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@import "styles/mdstyles/list-style";
@import "styles/mdstyles/tech-radar";
@import "styles/mdstyles/fish-bone";
@import "styles/mdstyles/maturity";

html, body {
height: 100%;
Expand Down
17 changes: 17 additions & 0 deletions src/styles/mdstyles/_maturity.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.ledge-maturity {
.mat-list-base .mat-list-item, .mat-list-base .mat-list-option {
height: 24px;
}

.mat-list-base {
padding-top: 0;
}

.mat-slider-horizontal {
height: 32px;
}

.mat-slider-horizontal .mat-slider-wrapper {
top: 13px;
}
}

0 comments on commit f27d6cb

Please sign in to comment.