mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Et2SelectCountry: Fix limited size of search box
There was a conflict between flag style & search styles. Now using a specific element for the current value flag instead of styling the whole slot.
This commit is contained in:
parent
23977d6c21
commit
234b2c78b9
@ -42,6 +42,18 @@ export class Et2SelectCountry extends Et2StaticSelectMixin(Et2Select)
|
|||||||
this.requestUpdate("select_options");
|
this.requestUpdate("select_options");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connectedCallback()
|
||||||
|
{
|
||||||
|
super.connectedCallback();
|
||||||
|
|
||||||
|
// Add element for current value flag
|
||||||
|
this.querySelector("[slot=prefix].tag_image")?.remove();
|
||||||
|
let image = document.createElement("span");
|
||||||
|
image.slot = "prefix";
|
||||||
|
image.classList.add("tag_image", "flag");
|
||||||
|
this.appendChild(image);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user