From 27a39c27f7b07c0f2312fd8c6d95d75e24edefe3 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Wed, 10 Jul 2024 07:35:07 +0200 Subject: [PATCH] Set max-width to 768px for all screens --- tailwind.config.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tailwind.config.js b/tailwind.config.js index aef4a61..90ba410 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,5 +8,18 @@ module.exports = { }, extend: {}, }, - plugins: [], + plugins: [ + function ({ addComponents }) { + addComponents({ + '.container': { + '@screen lg': { + maxWidth: '768px', + }, + '@screen xl': { + maxWidth: '768px', + }, + } + }) + } + ], } \ No newline at end of file