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.
1 parent 0735e3d commit 2104a4eCopy full SHA for 2104a4e
src/plugins/zIndex.js
@@ -1,11 +1,12 @@
1
import _ from 'lodash'
2
+import prefixNegativeModifiers from '../util/prefixNegativeModifiers'
3
4
export default function() {
- return function({ addUtilities, theme, variants }) {
5
+ return function({ addUtilities, e, theme, variants }) {
6
const utilities = _.fromPairs(
7
_.map(theme('zIndex'), (value, modifier) => {
8
return [
- `.z-${modifier}`,
9
+ `.${e(prefixNegativeModifiers('z', modifier))}`,
10
{
11
'z-index': value,
12
},
0 commit comments