input, button { /* line-height: 20px; */ font-size: 13px; padding: 3px 5px } body { height: 100vh; background: #ccc; } .container { padding: 30px 30px; width: 1000px; margin: 0 auto; /* border: 1px solid pink; */ background: #fff /* height: 400px; */ /* background: pink */ } .filter-item { display: inline-block; margin-right: 20px; margin-bottom: 20px; } .filter-item span { width: 92px; display: inline-block; text-align: right; } .connect-sec input { width: 120px; } .openWebsocket { cursor: pointer; margin-right: 10px; } .closeWebsocket { cursor: not-allowed; opacity: .5 } /* .param-sec input { width: 280px; } */ .xunJian-sec input { width: 140px; } .button-sec button { margin-right: 30px; cursor: pointer } .data-view { box-sizing: border-box; padding: 20px; margin-top: 30px; width: 100%; height: calc(100vh - 360px); /* height: 100vh; */ border: 1px solid #000; overflow-y: auto; } .receive-time { color: blue } .send-time { color: green } .send-status { color: red } .send-status, .send-request, .send-time, .receive-time, .receive-request { margin-bottom: 10px; }