diff --git a/resources/web/flush/WipingDialog.html b/resources/web/flush/WipingDialog.html
index 1e0e9e1eea..85750866ab 100644
--- a/resources/web/flush/WipingDialog.html
+++ b/resources/web/flush/WipingDialog.html
@@ -6,6 +6,7 @@
* {
user-select: none;
-webkit-user-select: none;
+ box-sizing: border-box;
}
html, body {
@@ -16,19 +17,24 @@
font-family: sans-serif;
overscroll-behavior: none;
}
-
+
body {
position: fixed;
inset: 0;
}
.container {
+ display: flex;
+ flex-direction: column;
+ height: 100%;
background: #fff;
padding: 20px;
padding-bottom: 10px;
border: 1px solid #ccc;
- max-width:fit-content(1000px);
+ max-width: fit-content(1000px);
margin: 0 auto;
+ overflow: hidden;
+ box-sizing: border-box;
}
.tip-panel {
@@ -36,9 +42,19 @@
padding: 10px;
margin-bottom: 10px;
font-size: 12px;
+ flex-shrink: 0;
+ }
+
+ .scroll-wrapper {
+ flex: 1 1 0%;
+ min-height: 0;
+ display: flex;
+ flex-direction: column;
}
.scroll-container {
+ flex: 1 1 0%;
+ min-height: 80px;
max-width: 100%;
max-height: 500px;
overflow: auto;
@@ -47,6 +63,10 @@
margin: 0px;
}
+ .description-section {
+ flex-shrink: 0;
+ }
+
table {
border-collapse: collapse;
width: 100%;
@@ -152,7 +172,8 @@
display: flex;
justify-content: center;
gap: 0px;
- margin: 10px;
+ margin-top: 10px;
+ flex-shrink: 0;
}
/* 暗色模式样式 */
@@ -245,7 +266,7 @@
in Orca Slicer > Preferences.
-