fix: reduce Button sm padding on mobile
This commit is contained in:
@@ -98,7 +98,7 @@ describe('ProjectCard', () => {
|
||||
it('View Project button uses sm size', () => {
|
||||
render(<ProjectCard {...DEFAULT_PROPS} />);
|
||||
const btn = screen.getByRole('link', { name: /view project/i });
|
||||
expect(btn).toHaveClass('px-4', 'py-2', 'text-sm');
|
||||
expect(btn).toHaveClass('px-3', 'py-1.5', 'sm:px-4', 'sm:py-2', 'text-sm');
|
||||
});
|
||||
|
||||
it('tags are xs outline badges', () => {
|
||||
|
||||
Reference in New Issue
Block a user