diff --git a/frontend/src/components/cur-dir-path/dir-path.js b/frontend/src/components/cur-dir-path/dir-path.js index 436748e9b4..9db801dd90 100644 --- a/frontend/src/components/cur-dir-path/dir-path.js +++ b/frontend/src/components/cur-dir-path/dir-path.js @@ -159,7 +159,7 @@ class DirPath extends React.Component {
- {gettext('Refresh the page')} + {gettext('Refresh the view')}
diff --git a/frontend/src/css/lib-content-view.css b/frontend/src/css/lib-content-view.css index 2294f083ed..83069fabbf 100644 --- a/frontend/src/css/lib-content-view.css +++ b/frontend/src/css/lib-content-view.css @@ -276,13 +276,17 @@ .dir-view-path .path-item-refresh { height: 24px; width: 24px; - display: inline-flex; + display: none; align-items: center; justify-content: center; margin-left: 2px; border-radius: 3px; } +.cur-dir-path:hover .dir-view-path .path-item-refresh { + display: inline-flex; +} + .dir-view-path .path-item-refresh:hover { background: #efefef; }