fix: reduce Button sm padding on mobile

This commit is contained in:
Ilia Mashkov
2026-05-19 18:05:57 +03:00
parent 906ec3b805
commit 954b17d824
3 changed files with 4 additions and 4 deletions
@@ -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', () => {