mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix button class
This commit is contained in:
parent
4ee42ff37c
commit
2eb64aef6e
@ -58,7 +58,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-red-600 text-base font-medium text-white shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-red-600 text-base font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -72,7 +72,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-red-700 bg-white text-base font-medium text-red-700 shadow-sm hover:bg-red-50 focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-red-700 bg-white text-base font-medium text-red-700 shadow-sm focus:outline-none focus:ring-2 focus:ring-red-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -86,7 +86,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 text-base font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -100,7 +100,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex items-center rounded-md border border-transparent bg-indigo-100 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 px-3 py-2'
|
||||
'inline-flex items-center rounded-md border border-transparent bg-indigo-100 text-sm font-medium text-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -125,7 +125,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-green-600 text-base font-medium text-white shadow-sm hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-green-600 text-base font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -139,7 +139,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-green-700 bg-white text-base font-medium text-green-700 shadow-sm hover:bg-green-50 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-green-700 bg-white text-base font-medium text-green-700 shadow-sm focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -153,7 +153,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-yellow-600 text-base font-medium text-white shadow-sm hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
'inline-flex w-full justify-center rounded-md border border-transparent bg-yellow-600 text-base font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
@ -167,7 +167,7 @@ describe('Button', () => {
|
||||
const testId: HTMLElement = screen.getByTestId('test-id');
|
||||
|
||||
expect(testId).toHaveClass(
|
||||
'inline-flex w-full justify-center rounded-md border border-yellow-700 bg-white text-base font-medium text-yellow-700 shadow-sm hover:bg-yellow-50 focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
' inline-flex w-full justify-center rounded-md border border-yellow-700 bg-white text-base font-medium text-yellow-700 shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm px-3 py-2'
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user