Skip to content

Commit

Permalink
Add failing test for #4823
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jul 1, 2021
1 parent 369c7b5 commit 7523a44
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/jit/apply.test.css
Expand Up @@ -323,6 +323,13 @@ h2 {
padding-left: 1rem;
padding-right: 1rem;
}
.important-modifier-variant {
padding-left: 1rem;
padding-right: 1rem;
}
.important-modifier-variant:hover {
border-radius: 0.375rem !important;
}
@keyframes spin {
to {
transform: rotate(360deg);
Expand Down
1 change: 1 addition & 0 deletions tests/jit/apply.test.html
Expand Up @@ -33,6 +33,7 @@
<div class="use-with-other-properties-base use-with-other-properties-component"></div>
<div class="add-sibling-properties"></div>
<div class="important-modifier"></div>
<div class="important-modifier-variant"></div>
<div class="a b"></div>
<div class="foo"></div>
<div class="bar"></div>
Expand Down
4 changes: 4 additions & 0 deletions tests/jit/apply.test.js
Expand Up @@ -122,6 +122,10 @@ test('@apply', () => {
.important-modifier {
@apply px-4 !rounded-md;
}
.important-modifier-variant {
@apply px-4 hover:!rounded-md;
}
}
@layer utilities {
Expand Down

0 comments on commit 7523a44

Please sign in to comment.