Fix max size of select suggestions.
This commit is contained in:
parent
7386c55952
commit
72a3b9b9d2
3 changed files with 12 additions and 1 deletions
|
@ -153,6 +153,14 @@ export function DemoApp()
|
||||||
"d": "DDDDDD",
|
"d": "DDDDDD",
|
||||||
"e": "EEEEEE",
|
"e": "EEEEEE",
|
||||||
"f": "FFFFFF",
|
"f": "FFFFFF",
|
||||||
|
"g": "GGGGGG",
|
||||||
|
"h": "HHHHHH",
|
||||||
|
"i": "IIIIII",
|
||||||
|
"j": "JJJJJJ",
|
||||||
|
"k": "KKKKKK",
|
||||||
|
"l": "LLLLLL",
|
||||||
|
"m": "MMMMMM",
|
||||||
|
"n": "NNNNNN",
|
||||||
}} value={selected} onChange={setSelected} selectibleMaxCount={3} placeholder={"Simple test"}>
|
}} value={selected} onChange={setSelected} selectibleMaxCount={3} placeholder={"Simple test"}>
|
||||||
Simple select test
|
Simple select test
|
||||||
</Select>
|
</Select>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.3.2",
|
"version": "1.3.3",
|
||||||
"name": "@kernelui/core",
|
"name": "@kernelui/core",
|
||||||
"description": "Kernel UI Core.",
|
"description": "Kernel UI Core.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
.floating.suggestions
|
.floating.suggestions
|
||||||
{
|
{
|
||||||
|
max-height: ~"min(90vh, 18em)";
|
||||||
padding: 0.5em 0;
|
padding: 0.5em 0;
|
||||||
|
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
.suggestion
|
.suggestion
|
||||||
{
|
{
|
||||||
transition: background 0.2s ease;
|
transition: background 0.2s ease;
|
||||||
|
|
Loading…
Reference in a new issue