mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-09 10:50:24 +00:00
fix: metadata refresh display (#7113)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -159,7 +159,7 @@ class DirPath extends React.Component {
|
|||||||
<div className="path-item-refresh" id="sf-metadata-view-refresh" onClick={this.handelRefresh}>
|
<div className="path-item-refresh" id="sf-metadata-view-refresh" onClick={this.handelRefresh}>
|
||||||
<i className="sf3-font sf3-font-refresh"></i>
|
<i className="sf3-font sf3-font-refresh"></i>
|
||||||
<UncontrolledTooltip target="sf-metadata-view-refresh" placement="bottom">
|
<UncontrolledTooltip target="sf-metadata-view-refresh" placement="bottom">
|
||||||
{gettext('Refresh the page')}
|
{gettext('Refresh the view')}
|
||||||
</UncontrolledTooltip>
|
</UncontrolledTooltip>
|
||||||
</div>
|
</div>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
@@ -276,13 +276,17 @@
|
|||||||
.dir-view-path .path-item-refresh {
|
.dir-view-path .path-item-refresh {
|
||||||
height: 24px;
|
height: 24px;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
display: inline-flex;
|
display: none;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cur-dir-path:hover .dir-view-path .path-item-refresh {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
.dir-view-path .path-item-refresh:hover {
|
.dir-view-path .path-item-refresh:hover {
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user