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:
@@ -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>
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user