adjustment
This commit is contained in:
@ -218,7 +218,7 @@
|
||||
];
|
||||
drop.source.forEach(it => {
|
||||
const span = document.createElement('span');
|
||||
span.className = 'drop-item';
|
||||
span.className = 'ui-drop-item';
|
||||
span.style.setProperty('--color', it.value);
|
||||
span.innerText = it.text;
|
||||
it.html = span;
|
||||
@ -266,7 +266,7 @@
|
||||
];
|
||||
drop.source.forEach(it => {
|
||||
const span = document.createElement('span');
|
||||
span.className = 'drop-item';
|
||||
span.className = 'ui-drop-item';
|
||||
span.style.setProperty('--color', it.value);
|
||||
span.innerText = it.text;
|
||||
it.html = span;
|
||||
@ -279,18 +279,18 @@
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#dropdown-sample>.drop-wrapper {
|
||||
#dropdown-sample>.ui-drop-wrapper {
|
||||
width: 200px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.drop-item {
|
||||
.ui-drop-item {
|
||||
font-size: .75rem !important;
|
||||
padding: 0 0 0 22px !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.drop-item::before {
|
||||
.ui-drop-item::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
|
Reference in New Issue
Block a user