feat: support aspect ratio media queries

This commit is contained in:
Mark Lawlor
2022-05-10 13:54:33 +10:00
parent 09ba7b6936
commit 94b9c487d8

View File

@@ -81,6 +81,8 @@ export function useTailwind<P>({ siblingClassName = "" } = {}) {
for (let index = 0, length = rules.length; index < length; index++) {
const isMatch = match(rules[index], {
"aspect-ratio": width / height,
"device-aspect-ratio": width / height,
type: platform,
width,
height,