mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
delint and fix min-height issue
This commit is contained in:
parent
fd64d37305
commit
d147aaa984
@ -125,6 +125,7 @@ limitations under the License.
|
|||||||
font-size: $font-14px;
|
font-size: $font-14px;
|
||||||
line-height: $font-32px;
|
line-height: $font-32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
min-height: 32px;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
|
@ -140,7 +140,7 @@ export default class Dropdown extends React.Component<IProps, IState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
|
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
|
||||||
UNSAFE_componentWillReceiveProps(nextProps) { // eslint-disable-line camelcase
|
UNSAFE_componentWillReceiveProps(nextProps) { // eslint-disable-line
|
||||||
if (!nextProps.children || nextProps.children.length === 0) {
|
if (!nextProps.children || nextProps.children.length === 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user