Move item type menu CSS override to SCSS
This commit is contained in:
parent
0e251b4975
commit
ab5def98a7
2 changed files with 4 additions and 2 deletions
|
@ -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() {
|
||||
|
|
|
@ -43,6 +43,10 @@ item-box {
|
|||
display: none;
|
||||
}
|
||||
|
||||
&::part(label-box) {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&::part(label) {
|
||||
margin-inline-start: 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue