mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/sky22333/ansible-ui
synced 2026-09-20 08:03:57 +08:00
去掉执行任务窗口的滚动条样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user