From 0e66f19b9ee553b9aa9aae1cbb7aff99faa4fd27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 3 Aug 2023 11:29:44 +0300 Subject: [PATCH] Divider updates --- components/lib/tailwind/Tailwind.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/components/lib/tailwind/Tailwind.js b/components/lib/tailwind/Tailwind.js index 0414bbce1..da865247b 100644 --- a/components/lib/tailwind/Tailwind.js +++ b/components/lib/tailwind/Tailwind.js @@ -153,17 +153,10 @@ export default { 'flex relative', // alignments. { 'w-full my-5 mx-0 py-0 px-5 before:block before:left-0 before:absolute before:top-1/2 before:w-full before:border-t before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'horizontal', // Padding and borders for horizontal layout. - 'justify-center min-h-full mx-4 md:mx-5 py-5 before:block before:min-h-full before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2 before:border-l before:border-gray-300 before:dark:border-blue-900/40': + 'min-h-full mx-4 md:mx-5 py-5 before:block before:min-h-full before:absolute before:left-1/2 before:top-0 before:transform before:-translate-x-1/2 before:border-l before:border-gray-300 before:dark:border-blue-900/40': props.layout == 'vertical' // Padding and borders for vertical layout. }, - { 'before:border-solid': props.type == 'solid', 'before:border-dotted': props.type == 'dotted', 'before:border-dashed': props.type == 'dashed' }, // Border type condition. - { - 'justify-center items-center': props.align == 'center' || props.align == null, // Alignment condition for center or default alignment. - 'justify-end items-center': props.align == 'right', // Alignment condition for right alignment. - 'justify-start items-center': props.align == 'left', // Alignment condition for left alignment. - 'items-start': props.align == 'top', // Alignment condition for top alignment. - 'items-end': props.align == 'bottom' // Alignment condition for bottom alignment. - } + { 'before:border-solid': props.type == 'solid', 'before:border-dotted': props.type == 'dotted', 'before:border-dashed': props.type == 'dashed' } // Border type condition. ] }), content: {