File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 390390}
391391
392392.agent-chat__snapshot-icon {
393- width : 14px ;
394- height : 14px ;
395393 flex-shrink : 0 ;
396- display : flex ;
397- align-items : center ;
398- justify-content : center ;
399394
400395 svg {
401396 display : block ;
402- width : 100 % ;
403- height : 100 % ;
397+ width : 14 px ;
398+ height : 14 px ;
404399 }
405400}
406401
Original file line number Diff line number Diff line change @@ -1325,7 +1325,7 @@ export class AgentChat extends Model {
13251325 const el = document . createElement ( "div" ) ;
13261326 el . className = "agent-chat__msg agent-chat__msg--snapshot" ;
13271327 el . innerHTML = '<div class="agent-chat__snapshot-body">' +
1328- '<div class="agent-chat__snapshot-icon"><svg><use xlink:href="#iconHistory"></use></svg></div >' +
1328+ '<span class="agent-chat__snapshot-icon"><svg><use xlink:href="#iconHistory"></use></svg></span >' +
13291329 '<span class="agent-chat__snapshot-text">' + escapeHtml ( ( L . snapshotAutoCreated || "Auto snapshot created" ) + " " + shortID ) + "</span>" +
13301330 '<button class="b3-button b3-button--text agent-chat__snapshot-rollback b3-tooltips b3-tooltips__n" aria-label="' + ( L . rollback || "Rollback" ) + '"><svg><use xlink:href="#iconUndo"></use></svg></button>' +
13311331 "</div>" ;
@@ -1347,7 +1347,7 @@ export class AgentChat extends Model {
13471347 const el = document . createElement ( "div" ) ;
13481348 el . className = "agent-chat__msg agent-chat__msg--snapshot" ;
13491349 el . innerHTML = '<div class="agent-chat__snapshot-body">' +
1350- '<div class="agent-chat__snapshot-icon"><svg><use xlink:href="#iconHistory"></use></svg></div >' +
1350+ '<span class="agent-chat__snapshot-icon"><svg><use xlink:href="#iconHistory"></use></svg></span >' +
13511351 '<span class="agent-chat__snapshot-text">' + escapeHtml ( ( L . rollbackCompleted || "Rollback completed" ) + " " + shortID ) + "</span>" +
13521352 "</div>" ;
13531353 this . messagesContainer . appendChild ( el ) ;
You can’t perform that action at this time.
0 commit comments