Skip to content

Commit

Permalink
fix(popover): padding without close icon (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil147 authored and GitHub Enterprise committed Aug 2, 2023
1 parent 25f5472 commit bb1eeb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/ng-aquila/src/popover/popover.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ $padding-content: nx-spacer(2m) - $popover-border-size;
border: $popover-border-size solid v(popover-border-color);
border-radius: $popover-border-radius;
box-shadow: v(shadow-small);
padding: nx-spacer(m) nx-spacer(4m) nx-spacer(m) nx-spacer(2m);
padding: nx-spacer(m) nx-spacer(2m);
display: block;

&:has(.nx-popover__close-icon) {
padding: nx-spacer(m) nx-spacer(4m) nx-spacer(m) nx-spacer(2m);
}

&:focus {
outline: none;
}
Expand Down

0 comments on commit bb1eeb7

Please sign in to comment.