Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
thecrypticace committed Oct 3, 2024
commit 399d877c27f950074aa29606cc4c2b22acf6f034
10 changes: 0 additions & 10 deletions packages/tailwindcss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,16 +250,6 @@ async function parseCss(
shouldReplace = true
features[i] = ''
}

// Drop instances of `@media selector(…)`
//
// We support `@import "tailwindcss" selector(…)` as a way to
// nest utilities under a custom selector.
else if (part.startsWith('selector(') && part.endsWith(')')) {
wrappingSelector = `${part.slice(9, -1)} &`
shouldReplace = true
features[i] = ''
}
}

let remaining = features.filter(Boolean).join(' ')
Expand Down