@shakthillc/components
Version:
React generic components for shakthi products
48 lines (46 loc) • 908 B
CSS
* {
box-sizing: border-box;
margin: 0px;
padding: 0px;
}
.list {
user-select: none;
margin-top: 4px;
overflow-y: auto;
height: auto ;
max-height: 185px;
border-radius: 4px;
background: #ffffff;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
min-width: 155px;
max-width: 220px;
width: 100%;
padding: 5px 8px;
position: absolute;
z-index: 2;
}
.button {
width: fit-content;
padding: 2px 8px;
height: 32px;
border-radius: 4px;
background-color: #ffffff;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15);
cursor: pointer;
display: flex;
align-items: center;
}
.spantext {
vertical-align: middle;
display: inline-block;
padding: 0px 2px 0px 8px;
}
.list::-webkit-scrollbar {
width: 5px;
}
.list::-webkit-scrollbar-thumb {
background: #888;
}
.list::-webkit-scrollbar-track {
background: #f1f1f1;
}