UNPKG

xtendui

Version:

Xtend UI is a powerful frontend library of Tailwind CSS components enhanced by vanilla js. It helps you build interfaces with advanced interactions and animations.

36 lines (34 loc) 711 B
/*! * Xtend UI (https://xtendui.github.io/xtendui/) * @copyright (c) 2017-2026 Riccardo Caroli * @license MIT (https://github.com/xtendui/xtendui/blob/master/LICENSE.txt) */ module.exports = { variants: ['responsive'], utility: theme => ({ space: theme('spacing'), }), component: { '.xt-row': { display: 'flex', flexWrap: 'wrap', flexDirection: 'row', '> *': { // fix column flex shrink flex: '0 0 auto', }, '&:empty': { display: 'none', }, }, '.xt-row-stretch': { '> *': { display: 'flex', alignItems: 'stretch', '> *': { minHeight: '100%', }, }, }, }, }