1
0
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:
Ayush Sharma
2019-05-11 08:59:39 +02:00
committed by Juan Picado @jotadeveloper
parent 3d752e079c
commit c9fb3c4c50
3 changed files with 12 additions and 5 deletions

View File

@@ -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;
}
`;