Skip to content

Commit

Permalink
refactor(paginator): use placeholder selector for sizable
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonoff committed May 9, 2023
1 parent 5269603 commit 86eb0a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
);

@extend %igx-paginator !optional;
@extend %igx-paginator--sizable !optional;

@include m(cosy) {
@extend %igx-paginator !optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@
@mixin paginator($theme) {
@include css-vars($theme);

igx-paginator {
@include sizable();
}

$paginator-padding-inline: (
comfortable: rem(24px),
cosy: rem(16px),
Expand Down Expand Up @@ -94,6 +90,10 @@
}
}

%igx-paginator--sizable {
@include sizable();
}

%igx-paginator--cosy {
--component-size: var(--ig-size, var(--ig-size-medium));
}
Expand Down

0 comments on commit 86eb0a6

Please sign in to comment.