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(labelWrapper);
|
||||||
row.appendChild(rowData);
|
row.appendChild(rowData);
|
||||||
this._infoTable.appendChild(row);
|
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() {
|
updateItemTypeMenuSelection() {
|
||||||
|
|
|
@ -42,6 +42,10 @@ item-box {
|
||||||
&::part(dropmarker) {
|
&::part(dropmarker) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::part(label-box) {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
&::part(label) {
|
&::part(label) {
|
||||||
margin-inline-start: 0;
|
margin-inline-start: 0;
|
||||||
|
|
Loading…
Reference in a new issue