diff --git a/source/css/style.pcss b/source/css/style.pcss index b8c3e157b959e95c3c3ac529856edfe06ef97b07..132c3738c48ddde9d165fbb107a6be73e10f5a16 100644 --- a/source/css/style.pcss +++ b/source/css/style.pcss @@ -101,7 +101,11 @@ a.icon-link:hover { @apply hidden; } -/** - * Custom utilities - */ -@import "./utils.pcss"; +.copyleft { + transform: matrix(-1, 0, 0, 1, 0, 0) !important; +} + +.inline-block-nogap { + /* Avoid gaps between inline-block elements */ + font-size: 0; +} diff --git a/source/css/utils.pcss b/source/css/utils.pcss deleted file mode 100644 index f46f5521eb20317f0df98de19a8305f393de1395..0000000000000000000000000000000000000000 --- a/source/css/utils.pcss +++ /dev/null @@ -1,8 +0,0 @@ -.copyleft { - transform: matrix(-1, 0, 0, 1, 0, 0) !important; -} - -.inline-block-nogap { - /* Avoid gaps between inline-block elements */ - font-size: 0; -} diff --git a/tailwind.config.js b/tailwind.config.js index aa2f1e5e06c54c0099da5f8ba89c18705fa7de56..4a6b8554f20652af0248115b1abd3a8ac22a3d48 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -17,17 +17,22 @@ module.exports = { options: { whitelistPatterns: [ /^((sm|md|lg|xl)\:)?w-\d\d?/, + /^((sm|md|lg|xl)\:)?w-screen/, /^((sm|md|lg|xl)\:)?h-\d\d?/, + /^((sm|md|lg|xl)\:)?h-screen/, /^((sm|md|lg|xl)\:)?m.?-\d\d?/, + /^((sm|md|lg|xl)\:)?m.?-auto?/, /^((sm|md|lg|xl)\:)?p.?-\d\d?/, /^((sm|md|lg|xl)\:)?grid-cols-*/, /^((sm|md|lg|xl)\:)?col-span-*/, /^((sm|md|lg|xl)\:)?row-span-*/, - /^((sm|md|lg|xl)\:)?grid-flow-*/, // grid flow + /^((sm|md|lg|xl)\:)?float-*/, + /^((sm|md|lg|xl)\:)?grid-flow-*/, /^((sm|md|lg|xl)\:)?head-*/, + /^((sm|md|lg|xl)\:)?clearfix/, /^text-*/, - /^max-w-*/, // maximum width - /ico--*/, // icons + /^max-w-*/, + /ico--*/, ], } },