primevue-mirror/components/lib/props/style/max/properties/height.js

20 lines
513 B
JavaScript
Raw Normal View History

2024-02-16 08:48:00 +00:00
/* const { styleClass } = require('../../../utils');
const { addFixedSize } = require('../../base/size');
module.exports = (root, opts) => {
let maxHeights = {
'max-h-auto': 'auto',
'max-h-0': '0px',
'max-h-full': '100%',
'max-h-screen': '100vh',
'min-h-min': 'min-content',
'min-h-max': 'max-content',
'min-h-fit': 'fit-content'
};
addFixedSize(maxHeights, 'max-h-', opts);
styleClass('max-height', maxHeights, root, opts, true);
};
*/