mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 01:25:51 +07:00
fix: search suggestion container height (#54)
* fix: search suggestion container height * fix: updates snapshot
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
3d752e079c
commit
c9fb3c4c50
@@ -5,6 +5,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import styled, { css } from 'react-emotion';
|
||||
import Paper from '@material-ui/core/Paper';
|
||||
|
||||
import TextField from '../TextField';
|
||||
import { IInputField } from './types';
|
||||
@@ -50,3 +51,10 @@ export const InputField = ({ color, ...others }: IInputField) => (
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
export const SuggestionContainer = styled(Paper)`
|
||||
&& {
|
||||
max-height: 500px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user