Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
anveshmekala committed May 14, 2024
1 parent 4cb60c4 commit 854f97c
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,41 +1,35 @@
:host([scale="s"]) {
.container {
@apply text-n2h py-1;
padding-inline: 8px;
@apply text-n2h py-1 px-2;
}
}

:host([scale="m"]) {
.container {
@apply text-n1h py-2;
padding-inline: 12px;
@apply text-n1h py-2 px-3;
}
}

:host([scale="l"]) {
.container {
@apply text-0h py-2.5;
padding-inline: 16px;
@apply text-0h py-2.5 px-4;
}
}

// none-selection mode
.container--s.container--none-selection {
padding-inline-start: theme("padding.1");
& .dropdown-link {
padding-inline-start: theme("padding.0");
}
}

.container--m.container--none-selection {
padding-inline-start: theme("padding.2");
& .dropdown-link {
padding-inline-start: theme("padding.0");
}
}

.container--l.container--none-selection {
padding-inline-start: theme("padding.3");
& .dropdown-link {
padding-inline-start: theme("padding.0");
}
Expand Down

0 comments on commit 854f97c

Please sign in to comment.