We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
size-*
1 parent e4b32a7 commit c92596fCopy full SHA for c92596f
tests/plugins/__snapshots__/size.test.js.snap
@@ -302,6 +302,16 @@ exports[`should test the 'size' plugin 1`] = `
302
height: 24rem;
303
}
304
305
+.size-\\[12px\\] {
306
+ width: 12px;
307
+ height: 12px;
308
+}
309
+
310
+.size-\\[var\\(--my-value\\)\\] {
311
+ width: var(--my-value);
312
+ height: var(--my-value);
313
314
315
.size-auto {
316
width: auto;
317
height: auto;
tests/plugins/size.test.js
@@ -3,7 +3,7 @@ import { quickPluginTest } from '../util/run'
3
quickPluginTest('size', {
4
safelist: [
5
// Arbitrary values
6
- 's-[12px]',
7
- 's-[var(--my-value)]',
+ 'size-[12px]',
+ 'size-[var(--my-value)]',
8
],
9
}).toMatchSnapshot()
0 commit comments