实训台按宽度自适应布局,可以收起
- 传感器卡片:宽时排一行,中等宽度分两行(开关卡片一行、滑块卡片一行),窄时每行 2 个 - 收起后只留一行状态(警示灯、照明灯、温湿度光照读数、LED 文字),传感器开关仍可点击;收起状态记在浏览器本地 - 设计器的撤销 / 重做按钮不再在窄屏下折行 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c53caf7fa
commit
081ac6f924
2 files changed
+161
-5
No files matched your search
@@ -566,6 +566,8 @@ const noop = () => {}
|
||||
}
|
||||
|
||||
.actions button {
|
||||
flex: none;
|
||||
white-space: nowrap;
|
||||
padding: 2px 10px;
|
||||
border: 1px solid #c5ccd5;
|
||||
border-radius: 3px;
|
||||
@@ -580,7 +582,11 @@ const noop = () => {}
|
||||
}
|
||||
|
||||
.tips {
|
||||
min-width: 0;
|
||||
margin-left: 8px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: #7a838e;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user