1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 03:41:12 +00:00

[dialogs] modified UI of the nav panel for dialogs('share dialog', 'share admin' dialog, 'folder permission' dialog, and etc.) (#5621)

This commit is contained in:
llj
2023-08-31 17:07:14 +08:00
committed by GitHub
parent 18e09d40aa
commit 351d7f4346
2 changed files with 8 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ class RepoShareAdminDialog extends React.Component {
render() {
const { activeTab } = this.state;
const { repoName } = this.props.repo;
const { repo_name: repoName } = this.props.repo;
return (
<div>

View File

@@ -16,8 +16,14 @@
padding: 1rem;
border-bottom: 1px solid #eee;
}
.share-dialog .nav .nav-item .nav-link {
padding: 0.3125rem 0.25rem;
}
@media (min-width: 768px) {
.share-dialog-content .share-dialog-side {
padding: 12px 8px;
border: 0;
border-right: 1px solid #eee;
}
@@ -26,6 +32,7 @@
}
.share-dialog-side .nav-pills .nav-item .nav-link {
width: 100%;
padding: 0.3125rem 0.5rem;
margin: 0;
}
}
@@ -84,10 +91,6 @@
margin-top: 1.125rem;
}
.share-dialog .nav .nav-item .nav-link {
padding: 0.3125rem 0.25rem;
}
input.expire-input {
display: inline-block;
width: 4rem;