mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
Change share dialog (#4245)
* fix share dialog dropdown memu style * fix some warnings
This commit is contained in:
@@ -78,11 +78,11 @@ class AddAbuseReportDialog extends React.Component {
|
||||
</Input>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<Label>{gettext("Contact Information")}</Label>
|
||||
<Label>{gettext('Contact Information')}</Label>
|
||||
<Input type="text" value={this.state.reporter} onChange={(event) => this.setReporter(event)}/>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<Label>{gettext("Description")}</Label>
|
||||
<Label>{gettext('Description')}</Label>
|
||||
<Input type="textarea" onChange={(event) => this.setDescription(event)}/>
|
||||
</FormGroup>
|
||||
</Form>
|
||||
|
@@ -20,7 +20,7 @@ class UploadListItem extends React.Component {
|
||||
super(props);
|
||||
this.state = {
|
||||
uploadState: UPLOAD_UPLOADING
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
@@ -49,7 +49,7 @@ class UploadListItem extends React.Component {
|
||||
|
||||
onUploadRetry = (e) => {
|
||||
e.preventDefault();
|
||||
this.props.onUploadRetry(this.props.resumableFile)
|
||||
this.props.onUploadRetry(this.props.resumableFile);
|
||||
}
|
||||
|
||||
formatFileSize = (size) => {
|
||||
|
@@ -3,7 +3,6 @@
|
||||
min-height: 27rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.share-dialog-content .share-dialog-side {
|
||||
@@ -22,16 +21,17 @@
|
||||
flex: 0 0 78%;
|
||||
padding: 1rem 1.5rem 2rem;
|
||||
}
|
||||
|
||||
.share-dialog-content .share-dialog-main .tab-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.share-dialog-content .share-dialog-main .tab-pane {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.share-list-container {
|
||||
max-height: 18rem;
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
@@ -18,7 +18,7 @@ import LabelRepoStateDialog from '../../components/dialog/label-repo-state-dialo
|
||||
import LibSubFolderPermissionDialog from '../../components/dialog/lib-sub-folder-permission-dialog';
|
||||
import Rename from '../../components/rename';
|
||||
import MylibRepoMenu from './mylib-repo-menu';
|
||||
import RepoAPITokenDialog from "../../components/dialog/repo-api-token-dialog";
|
||||
import RepoAPITokenDialog from '../../components/dialog/repo-api-token-dialog';
|
||||
|
||||
const propTypes = {
|
||||
repo: PropTypes.object.isRequired,
|
||||
|
Reference in New Issue
Block a user