Skip to content

Commit

Permalink
fix: 宽度计算自适应
Browse files Browse the repository at this point in the history
  • Loading branch information
xintaoLi committed Dec 2, 2024
1 parent fb0309d commit 5be0f4a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 1 deletion.
61 changes: 60 additions & 1 deletion bklog/web/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@
&.is-hidden {
display: none;
}

&.hidden-field {
visibility: hidden;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,11 @@ export default defineComponent({
{column.renderBodyCell?.({ row, column, rowIndex }, h) ?? column.title}
</LogCell>
))}
<LogCell
width={operatorToolsWidth.value}
class='hidden-field bklog-row-cell'
minWidth={operatorToolsWidth.value ?? 'auto'}
></LogCell>
</div>,
expand ? expandOption.render({ row }) : '',
];
Expand Down

0 comments on commit 5be0f4a

Please sign in to comment.