Skip to content

Commit

Permalink
Fix alignment of menu-item parts (#935)
Browse files Browse the repository at this point in the history
* Fix alignment of menu-item parts

* apply suggestion from Bjarne

---------

Co-authored-by: Mads Rasmussen <[email protected]>
  • Loading branch information
skttl and madsrasmussen authored Nov 19, 2024
1 parent 88c2c1a commit c28c618
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/uui-icon/lib/uui-icon.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ export class UUIIconElement extends LitElement {
:host {
display: inline-block;
vertical-align: bottom;
width: 1.15em;
height: 1.15em;
width: 1.125em;
height: 1.125em;
}
:host svg,
Expand Down
4 changes: 2 additions & 2 deletions packages/uui-menu-item/lib/uui-menu-item.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
height: 100%;
display: flex;
align-items: center;
justify-content: center;
justify-content: end;
padding-inline-end: 3px;
color: var(--uui-color-interactive);
}
Expand Down Expand Up @@ -553,7 +554,6 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
#icon {
display: inline-flex;
font-size: 16px;
margin-right: var(--uui-size-2);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class UUISymbolExpandElement extends LitElement {
:host {
display: inline-block;
width: 12px;
height: 12px;
vertical-align: middle;
}
Expand Down

0 comments on commit c28c618

Please sign in to comment.