1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

fix: dtable ui (#7260)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-12-26 14:17:45 +08:00
committed by GitHub
parent aed76073d6
commit a59280997a
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import classnames from 'classnames'; import classnames from 'classnames';
import { DTableSearchInput } from 'dtable-ui-component'; import { SearchInput } from '@seafile/sf-metadata-ui-component';
import Option from './option'; import Option from './option';
import KeyCodes from '../../../constants/keyCodes'; import KeyCodes from '../../../constants/keyCodes';
import ClickOutside from './click-outside'; import ClickOutside from './click-outside';
@@ -179,7 +179,7 @@ class SelectOptionGroup extends Component {
onMouseDown={this.onMouseDown} onMouseDown={this.onMouseDown}
> >
<div className="option-group-search position-relative"> <div className="option-group-search position-relative">
<DTableSearchInput <SearchInput
className="option-search-control" className="option-search-control"
placeholder={searchPlaceholder} placeholder={searchPlaceholder}
onChange={this.onChangeSearch} onChange={this.onChangeSearch}

View File

@@ -22,6 +22,10 @@
flex-shrink: 0; flex-shrink: 0;
} }
.sf-metadata-peoples-container .sf-metadata-people-info-img img {
object-fit: cover;
}
.sf-metadata-peoples-container .sf-metadata-people-info .sf-metadata-people-info-name-count { .sf-metadata-peoples-container .sf-metadata-people-info .sf-metadata-people-info-name-count {
flex: 1; flex: 1;
height: 100%; height: 100%;