Move item type menu CSS override to SCSS

This commit is contained in:
Abe Jellinek 2024-01-31 14:48:59 -05:00
parent 0e251b4975
commit ab5def98a7
2 changed files with 4 additions and 2 deletions

View file

@ -888,8 +888,6 @@
row.appendChild(labelWrapper);
row.appendChild(rowData);
this._infoTable.appendChild(row);
// Remove the default bold font from the label in shadow dom
this.querySelector("#item-type-menu").shadowRoot.querySelector("#label-box").style = "font-weight: normal";
}
updateItemTypeMenuSelection() {

View file

@ -42,6 +42,10 @@ item-box {
&::part(dropmarker) {
display: none;
}
&::part(label-box) {
font-weight: normal;
}
&::part(label) {
margin-inline-start: 0;