adjust padding of tab buttons
This commit is contained in:
parent
623c75aebb
commit
9324fb7613
@ -104,7 +104,7 @@ const GridTabs = ({ children, group }: GridTabsProps) => {
|
|||||||
{Children.map(children, (child) => {
|
{Children.map(children, (child) => {
|
||||||
if (!isValidElement(child)) return null;
|
if (!isValidElement(child)) return null;
|
||||||
const isActive = query[group] === child.props.name;
|
const isActive = query[group] === child.props.name;
|
||||||
const buttonClass = classNames('p-8', {
|
const buttonClass = classNames('py-4 px-12', {
|
||||||
'text-vega-pink': isActive,
|
'text-vega-pink': isActive,
|
||||||
'bg-white': isActive,
|
'bg-white': isActive,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user