diff --git a/frontend/src/components/dialog/select-dirent-body.js b/frontend/src/components/dialog/select-dirent-body.js index 74ac02ece6..869ecca6db 100644 --- a/frontend/src/components/dialog/select-dirent-body.js +++ b/frontend/src/components/dialog/select-dirent-body.js @@ -251,13 +251,15 @@ class SelectDirentBody extends React.Component { autoFocus /> ) : ( -
{gettext('New folder')} -
+ )}
diff --git a/frontend/src/css/lib-content-view.css b/frontend/src/css/lib-content-view.css index 425ef6500b..6884ed8424 100644 --- a/frontend/src/css/lib-content-view.css +++ b/frontend/src/css/lib-content-view.css @@ -450,10 +450,15 @@ justify-content: center; align-items: center; padding: 6px 12px; + border: 0; cursor: pointer; } -.custom-modal .modal-footer .footer-left-btns:hover { +.custom-modal .modal-footer .footer-left-btns.disabled { + cursor: not-allowed; +} + +.custom-modal .modal-footer .footer-left-btns:not(.disabled):hover { background-color: #f0f0f0; border-radius: 3px; }