File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575.ide-container {
7676 display : flex;
7777 flex-direction : column;
78+ width : 100% ;
7879 height : 100vh ;
7980 overflow : hidden;
8081}
Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ watch(
307307 height : 14px ;
308308}
309309
310- .content-text ,
311310.content-editor {
312311 min-height : 1em ;
313312 line-height : 1.5 ;
Original file line number Diff line number Diff line change 11<template >
22 <div class =" panel" >
33 <header class =" panel-header" >
4- <div class =" title" >
4+ <div class =" header- title" >
55 <h3 >INSPECTOR</h3 >
66 </div >
77 <div class =" count" v-if =" selectedItems.length > 0" >
1010 </header >
1111
1212 <div class =" inspector-content" >
13- <div v-if =" selectedMessageCount === 0" class =" empty-state" >
14- <p >未选中消息</p >
15- <p class =" sub" >在编辑器中点击消息以查看详情</p >
13+ <div v-if =" selectedMessageCount === 0" class =" panel-empty-hint" >
14+ <div >
15+ 未选中消息
16+ <br />
17+ 在编辑器中点击消息以查看详情
18+ </div >
1619 </div >
1720
1821 <div v-for =" chunk in allChunks" :key =" chunk.chunkId" >
@@ -238,30 +241,17 @@ function updateField(
238241 </script >
239242
240243<style scoped>
241- .panel-header {
242- height : 35px ;
243- padding : 0 12px ;
244- }
245-
246- .panel-header .title {
247- font-size : 16px ;
248- font-weight : bold ;
249- color : var (--text-muted );
250- }
251-
252244.inspector-content {
253- margin-left : 10px ;
254245 flex : 1 ;
255246 min-height : 0 ;
256247 overflow-y : auto ;
257248 scrollbar-gutter : stable;
258- padding : 12px 0px ;
259249}
260250
261251/* 消息详情卡片 */
262252.message-detail-card {
263253 border : 1px solid var (--border-color );
264- margin-bottom : 16 px ;
254+ margin : 0 px 10 px 10 px 10 px ;
265255 background-color : var (--bg-workspace );
266256 box-sizing : border-box ;
267257}
@@ -339,15 +329,4 @@ function updateField(
339329 font-size : 12px ;
340330 cursor : pointer ;
341331}
342-
343- .empty-state {
344- text-align : center ;
345- margin-top : 60px ;
346- color : var (--text-muted );
347- }
348-
349- .empty-state .sub {
350- font-size : 12px ;
351- margin-top : 8px ;
352- }
353332 </style >
Original file line number Diff line number Diff line change 179179 <ChevronsDown class="ui-icon" />
180180 </button >
181181 <button
182- class =" action-button action-button-warning icon-interactive is-warning "
182+ class =" action-button action-button-warning"
183183 title =" 删除分块"
184184 @click.stop =" handleDelete(chunk.chunkId)"
185185 >
Original file line number Diff line number Diff line change @@ -330,26 +330,6 @@ function handleDelete(id: string) {
330330 align-items : center ;
331331}
332332
333- .form-group .action-icon {
334- display : inline-flex ;
335- align-items : center ;
336- justify-content : center ;
337- background : transparent ;
338- border : none ;
339- padding : 4px ;
340- cursor : pointer ;
341- color : var (--icon-color );
342- }
343-
344- .form-group .action-icon :hover {
345- color : var (--active-accent );
346- }
347-
348- .form-group .action-icon .ui-icon {
349- width : 18px ;
350- height : 18px ;
351- }
352-
353333.input-group input {
354334 flex : 1 ;
355335}
Original file line number Diff line number Diff line change @@ -432,16 +432,6 @@ const clearIds = (rule: ColorRule) => {
432432 white-space : nowrap ;
433433}
434434
435- .rule-name-input {
436- width : 100px ;
437- padding : 4px ;
438- background : var (--bg-primary );
439- border : 1px solid var (--active-accent );
440- color : var (--text-primary );
441- font-size : 13px ;
442- font-weight : 600 ;
443- }
444-
445435.toggle-button {
446436 background : transparent ;
447437 border : none ;
@@ -549,6 +539,11 @@ const clearIds = (rule: ColorRule) => {
549539 outline : none ;
550540}
551541
542+ .form-group input :focus ,
543+ .form-group select :focus {
544+ border-color : var (--active-accent );
545+ }
546+
552547.filter-text-input {
553548 width : calc (100% - 4px );
554549 margin-right : 4px ;
You can’t perform that action at this time.
0 commit comments