1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-11 11:51:27 +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() { render() {
const { activeTab } = this.state; const { activeTab } = this.state;
const { repoName } = this.props.repo; const { repo_name: repoName } = this.props.repo;
return ( return (
<div> <div>

View File

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