This commit is contained in:
Eeeros 2024-06-25 10:36:07 +08:00
commit 087d3cc61b
2 changed files with 7 additions and 1 deletions

View File

@ -197,7 +197,7 @@ function issueDetail(props){
</div>
{
snippetsDetail && <div className="snippets" ref={ codeRef }>
<div className="head"><img src={ folderImg } alt="" />{ snippetsDetail.component.path }</div>
<div className="head"><img src={ folderImg } alt="" /><span>{ snippetsDetail.component.path }</span></div>
<div className="content">
<tbody>
{snippetsDetail.sources.map((item, index) => (

View File

@ -137,6 +137,12 @@
width: 18px;
margin-right: 10px;
}
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 780px;
}
}
.content {
display: flex;