mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
update groupList maxHeight (#2777)
* update groupList maxHeight * update ui css
This commit is contained in:
@@ -264,6 +264,7 @@ class ShareToGroup extends React.Component {
|
|||||||
options={this.options}
|
options={this.options}
|
||||||
placeholder={gettext('Select a group')}
|
placeholder={gettext('Select a group')}
|
||||||
components={makeAnimated()}
|
components={makeAnimated()}
|
||||||
|
maxMenuHeight={200}
|
||||||
inputId={'react-select-2-input'}
|
inputId={'react-select-2-input'}
|
||||||
value={this.state.selectedOption}
|
value={this.state.selectedOption}
|
||||||
/>
|
/>
|
||||||
|
@@ -282,6 +282,7 @@ class ShareToUser extends React.Component {
|
|||||||
loadOptions={this.loadOptions}
|
loadOptions={this.loadOptions}
|
||||||
onChange={this.handleSelectChange}
|
onChange={this.handleSelectChange}
|
||||||
value={this.state.selectedOption}
|
value={this.state.selectedOption}
|
||||||
|
maxMenuHeight={200}
|
||||||
isMulti
|
isMulti
|
||||||
isFocused
|
isFocused
|
||||||
isClearable
|
isClearable
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
.share-dialog .share-dialog-content {
|
.share-dialog .share-dialog-content {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
min-height: 15rem;
|
min-height: 20rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@@ -168,8 +168,8 @@ ul,ol,li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dialog-list-container { /* for dialog containing list */
|
.dialog-list-container { /* for dialog containing list */
|
||||||
min-height: 15rem;
|
min-height: 20rem;
|
||||||
max-height: 35rem;
|
max-height: 25rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user