Skip to content

Commit

Permalink
perf: extension detail scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Jun 29, 2022
1 parent 8c76192 commit a3fd768
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="py-3 extension-detail">
<div class="sticky top-0 z-50 bg-white">
<div class="py-4 ">
<div class="pb-3">
<a nz-button nzType="link" (click)="backToList()">
<i nz-icon nzType="left" nzTheme="outline"></i>Back
</a>
Expand All @@ -24,7 +24,7 @@
</div>
</div>
</div>
<div class="flex w-full mt-6">
<div class="flex w-full mt-6 h-[calc(100vh-350px)]">
<div class="flex-auto">
<h2 class="text-lg font-bold">Intro</h2>
<!-- <nz-divider></nz-divider> -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

.markdown-desc {
overflow: auto;
&::-webkit-scrollbar {
width:0;
}
&:hover::-webkit-scrollbar {
width:8px;
}
}

.ant-descriptions-row > td {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(ngModelChange)="onSeachChange($event)" />
</div>
<!-- Fixed Group -->
<div class="group_container fixed_group_tree ">
<div class="group_container ">
<nz-tree [nzData]="fixedTreeNode" [nzSelectedKeys]="nzSelectedKeys" nzBlockNode (nzClick)="clickTreeItem($event)"
[nzTreeTemplate]="nzFixedTreeTemplate"></nz-tree>
<ng-template #nzFixedTreeTemplate let-node let-origin="origin">
Expand Down

0 comments on commit a3fd768

Please sign in to comment.