Skip to content

Commit

Permalink
Fix expand-collapse positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
bearfriend committed Jun 29, 2023
1 parent 7579dfc commit 81bb643
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/list/list-item-expand-collapse-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export const ListItemExpandCollapseMixin = superclass => class extends SkeletonM
--d2l-expand-collapse-slot-transition-duration: 0.3s;
}
.d2l-list-expand-collapse {
line-height: 0;
width: 0;
}
:host([dir="rtl"][_render-expand-collapse-slot]) .d2l-list-expand-collapse {
padding: 0.4rem 0 0 0.3rem;
padding: 0.55rem 0 0 0.3rem;
}
.d2l-list-expand-collapse d2l-button-icon {
--d2l-button-icon-min-height: 1.2rem;
Expand All @@ -47,7 +48,7 @@ export const ListItemExpandCollapseMixin = superclass => class extends SkeletonM
border-radius: var(--d2l-button-icon-border-radius);
}
:host([_render-expand-collapse-slot]) .d2l-list-expand-collapse {
padding: 0.4rem 0.3rem 0 0;
padding: 0.55rem 0.3rem 0 0;
width: 1.2rem;
}
.d2l-list-expand-collapse-action {
Expand Down

0 comments on commit 81bb643

Please sign in to comment.