去掉执行任务窗口的滚动条样式

This commit is contained in:
NewName
2025-05-04 08:48:54 +08:00
parent f7dc0997a1
commit 6bb181bb1c
2 changed files with 7 additions and 3 deletions

View File

@@ -155,7 +155,9 @@
.DialogContent .max-h-40,
.SheetContent .max-h-40,
.DialogContent .h-\[200px\],
.SheetContent .h-\[200px\] {
.SheetContent .h-\[200px\],
/* 添加对整个Playbook执行弹窗的处理 */
.dialog-content-scroll-hide {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
@@ -171,7 +173,9 @@
.DialogContent .max-h-40::-webkit-scrollbar,
.SheetContent .max-h-40::-webkit-scrollbar,
.DialogContent .h-\[200px\]::-webkit-scrollbar,
.SheetContent .h-\[200px\]::-webkit-scrollbar {
.SheetContent .h-\[200px\]::-webkit-scrollbar,
/* 添加对整个Playbook执行弹窗的处理 */
.dialog-content-scroll-hide::-webkit-scrollbar {
display: none;
}

View File

@@ -752,7 +752,7 @@ function MainPage() {
{/* Playbook Execution Dialog */}
<Dialog open={isPlaybookDialogOpen} onOpenChange={setIsPlaybookDialogOpen}>
<DialogContent className="sm:max-w-[700px] max-h-[90vh] overflow-y-auto">
<DialogContent className="sm:max-w-[700px] max-h-[90vh] overflow-y-auto dialog-content-scroll-hide">
<DialogHeader>
<DialogTitle>Ansible Playbook</DialogTitle>
<DialogDescription>