Skip to content

Commit

Permalink
perf: 调整单个会话的 css 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Apr 3, 2024
1 parent fbb624b commit 870d0e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ div, elements-term, elements-guacamole {
.sub-view {
flex: 1;
height: 100%;
}

.border-style {
border-left: 1px solid black;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<div
*ngFor="let sub of subViews; let i = index"
class="sub-view"
[ngClass]="{'many-view': subViews.length > 1, 'height-view': subViews.length > 2, 'three-view': subViews.length == 3 && i == 2}"
[ngClass]="{'sub-border-style':subViews.length > 1, 'many-view': subViews.length > 1, 'height-view': subViews.length > 2, 'three-view': subViews.length == 3 && i == 2}"
>
<div *ngIf="sub.smartEndpoint">
<elements-content-view
[view]="sub"
[hasHead]="subViews.length > 1"
[canClose]="i !== 0"
></elements-content-view>
></elements-content-view>
</div>
</div>
</div>
Expand Down

0 comments on commit 870d0e6

Please sign in to comment.