adjust padding of tab buttons

This commit is contained in:
Matthew Russell 2022-03-01 14:48:16 -08:00
parent 623c75aebb
commit 9324fb7613

View File

@ -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,
}); });