样式+拖拽逻辑修改

This commit is contained in:
2025-09-12 12:20:40 +08:00
parent dc25d283d8
commit 27b70ac35f
2 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
/* 窗体容器 */
.window {
width: 400px;
width: 100%;
height: 100%;
border: 1px solid #666;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
background-color: #ffffff;
@@ -10,12 +11,21 @@
/* 标题栏 */
.title-bar {
color: white;
display: flex;
justify-content: space-between;
align-items: center;
user-select: none;
.title {
display: block;
padding: 0 5px;
flex-grow: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 18px;
}
.window-controls {
display: flex;
gap: 2px;