mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
chore: adjust DrawerHeader styling
This commit is contained in:
@@ -27,7 +27,7 @@ export interface DrawerHeaderProps {
|
||||
|
||||
const DrawerHeader = ({
|
||||
leftIcon = 'mdi:close',
|
||||
leftIconSize = 24,
|
||||
leftIconSize = 20,
|
||||
leftIconHref,
|
||||
leftIconOnClick,
|
||||
leftIconClassName,
|
||||
@@ -43,7 +43,7 @@ const DrawerHeader = ({
|
||||
icon={leftIcon}
|
||||
width={leftIconSize}
|
||||
height={leftIconSize}
|
||||
className={cn('cursor-pointer', leftIconClassName)}
|
||||
className={cn('cursor-pointer text-base-content ', leftIconClassName)}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -73,7 +73,7 @@ const DrawerHeader = ({
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'flex flex-row justify-between items-center px-4 pt-4 pb-4 border-b border-base-content/10',
|
||||
'flex flex-row justify-between items-center p-4 border-b border-base-content/10',
|
||||
className
|
||||
)}
|
||||
>
|
||||
@@ -82,7 +82,7 @@ const DrawerHeader = ({
|
||||
{renderLeftIcon()}
|
||||
|
||||
{showDivider && subtitle && (
|
||||
<div className='divider divider-horizontal p-0 m-0'></div>
|
||||
<div className='divider divider-horizontal w-px p-0 m-0'></div>
|
||||
)}
|
||||
|
||||
{subtitle && (
|
||||
|
||||
Reference in New Issue
Block a user