Skip to content

Commit

Permalink
fix: 🐛中线在无高度情况下丢失
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjone committed May 24, 2023
1 parent 8c285ab commit f04d632
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/root/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
'xg-mid-separate-line',
{ 'xg-mid-separate-line__dark': isDark }
]"
:style="{ height: $param.rootHeight + 'px' }"
/>
<!-- 移动示意线 -->
<div
Expand Down Expand Up @@ -215,6 +216,7 @@ defineExpose(exports);
.xg-mid-separate-line {
width: 3px;
height: 100%;
max-height: 100%;
display: inline-block;
position: relative;
background-color: #e5e5e5;
Expand Down Expand Up @@ -257,6 +259,7 @@ defineExpose(exports);
.xg-gantt-container {
height: 100%;
display: inline-block;
vertical-align: top;
}
}
Expand Down

0 comments on commit f04d632

Please sign in to comment.