Browse Source

Fix variableChildrenHeight

Remove extra class name.
master
TheoryOfNekomata 1 year ago
parent
commit
8a240dc03d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      categories/web/action/react/src/components/ActionButton/index.tsx
  2. +1
    -1
      categories/web/navigation/react/src/components/LinkButton/index.tsx

+ 1
- 1
categories/web/action/react/src/components/ActionButton/index.tsx View File

@@ -115,7 +115,7 @@ export const ActionButton = React.forwardRef<ActionButtonDerivedElement, ActionB
> >
<span <span
className={clsx( className={clsx(
'block uppercase font-bold h-[1.1em] w-full whitespace-nowrap overflow-hidden text-ellipsis font-semi-expanded',
'block uppercase font-bold w-full whitespace-nowrap overflow-hidden text-ellipsis font-semi-expanded',
{ {
'h-[1.1em]': !variableChildrenHeight, 'h-[1.1em]': !variableChildrenHeight,
}, },


+ 1
- 1
categories/web/navigation/react/src/components/LinkButton/index.tsx View File

@@ -125,7 +125,7 @@ export const LinkButton = React.forwardRef<LinkButtonDerivedElement, LinkButtonP
> >
<span <span
className={clsx( className={clsx(
'block uppercase font-bold h-[1.1em] w-full whitespace-nowrap overflow-hidden text-ellipsis font-semi-expanded',
'block uppercase font-bold w-full whitespace-nowrap overflow-hidden text-ellipsis font-semi-expanded',
{ {
'h-[1.1em]': !variableChildrenHeight, 'h-[1.1em]': !variableChildrenHeight,
}, },


Loading…
Cancel
Save