1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-16 06:03:35 +00:00

fix-class

This commit is contained in:
Michael An 2019-01-25 17:18:25 +08:00
parent a2acee268b
commit 9b68a87cf4
3 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ class SelectEditor extends React.Component {
<Select <Select
options={this.options} options={this.options}
className="permission-editor-select" className="permission-editor-select"
classNamePrefix="select" classNamePrefix="permission-editor"
onChange={this.onOptionChanged} onChange={this.onOptionChanged}
menuPlacement="auto" menuPlacement="auto"
/> />

View File

@ -7,10 +7,10 @@
word-wrap: break-word; word-wrap: break-word;
white-space: pre-wrap; white-space: pre-wrap;
} }
.permission-editor .select__option { .permission-editor .permission-editor__option {
padding-top: 2px; padding-top: 2px;
padding-bottom: 2px; padding-bottom: 2px;
} }
.select__control .permission-editor-explanation { .permission-editor .permission-editor__control .permission-editor-explanation {
display: none; display: none;
} }

View File

@ -80,6 +80,6 @@ input.expire-input {
margin: 0 0.25rem 0 1.25rem; margin: 0 0.25rem 0 1.25rem;
} }
.share-dialog-main .permission-editor .select__menu { .share-dialog-main .permission-editor .permission-editor__menu {
width: 240px; width: 240px;
} }