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}
|
||||
placeholder={gettext('Select a group')}
|
||||
components={makeAnimated()}
|
||||
maxMenuHeight={200}
|
||||
inputId={'react-select-2-input'}
|
||||
value={this.state.selectedOption}
|
||||
/>
|
||||
|
@@ -282,6 +282,7 @@ class ShareToUser extends React.Component {
|
||||
loadOptions={this.loadOptions}
|
||||
onChange={this.handleSelectChange}
|
||||
value={this.state.selectedOption}
|
||||
maxMenuHeight={200}
|
||||
isMulti
|
||||
isFocused
|
||||
isClearable
|
||||
|
@@ -1,6 +1,6 @@
|
||||
.share-dialog .share-dialog-content {
|
||||
padding: 0;
|
||||
min-height: 15rem;
|
||||
min-height: 20rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
|
@@ -168,8 +168,8 @@ ul,ol,li {
|
||||
}
|
||||
|
||||
.dialog-list-container { /* for dialog containing list */
|
||||
min-height: 15rem;
|
||||
max-height: 35rem;
|
||||
min-height: 20rem;
|
||||
max-height: 25rem;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user