Skip to content

Commit 8bc0549

Browse files
fix(action-pane): adjust css rules for icon slot (openscd#594)
1 parent 2e11cc8 commit 8bc0549

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/action-pane.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,12 @@ export class ActionPane extends LitElement {
170170
top: -0.1em;
171171
--mdc-icon-size: 1em;
172172
}
173+
174+
::slotted([slot='icon']) {
175+
vertical-align: middle;
176+
position: relative;
177+
top: -0.1em;
178+
--mdc-icon-size: 1em;
179+
}
173180
`;
174181
}

0 commit comments

Comments
 (0)