1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 19:01:42 +00:00

fix: metadata refresh display (#7113)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-11-27 12:06:30 +08:00
committed by GitHub
parent 7ad7f1d9c6
commit 0ba3a66ed5
2 changed files with 6 additions and 2 deletions

View File

@@ -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>

View File

@@ -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;
} }