Fixes #44: Text font dropdown fixed
parent
2757829dad
commit
f89d348282
|
@ -9,7 +9,8 @@ template.innerHTML = `
|
|||
}
|
||||
::slotted(*) {
|
||||
background: #E8E8E8;
|
||||
border: 1px solid #B0B0B0;
|
||||
padding:0;
|
||||
/*border: 1px solid #B0B0B0;*/
|
||||
}
|
||||
</style>
|
||||
<label>Label</label>
|
||||
|
@ -81,6 +82,7 @@ export class SeList extends HTMLElement {
|
|||
*/
|
||||
connectedCallback () {
|
||||
const currentObj = this;
|
||||
this.$dropdown.addEventListener('close', (e) => { this.$dropdown.open(); });
|
||||
this.$dropdown.addEventListener('selectedindexchange', (e) => {
|
||||
e.preventDefault();
|
||||
if (e?.detail?.selectedIndex !== undefined) {
|
||||
|
|
|
@ -4,6 +4,9 @@ import 'elix/define/Option.js';
|
|||
const template = document.createElement('template');
|
||||
template.innerHTML = `
|
||||
<style>
|
||||
elix-option{
|
||||
padding:0.25rem 0.125rem !important;
|
||||
}
|
||||
</style>
|
||||
<elix-option aria-label="option">
|
||||
<slot></slot>
|
||||
|
|
Loading…
Reference in New Issue