Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
samithaf committed Oct 19, 2023
2 parents 0042f89 + be6c676 commit 615905f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/components/alert/alert.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { act, render, screen, waitFor, waitForElementToBeRemoved } from '@testing-library/react';
import { act, render, screen, waitFor } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import { vi } from 'vitest';

Expand All @@ -18,7 +18,7 @@ describe('Alert', () => {
it('generates the base style correctly', () => {
const style = styles({ look: 'info', mode: 'box' });
expect(style.base()).toBe(
'typography-body-10 relative mb-4 xsl:flex text-info border-y p-3 border-info-50 bg-info-5',
'typography-body-10 xsl:flex relative mb-4 text-info border-y p-3 border-info-50 bg-info-5',
);
});

Expand Down
6 changes: 3 additions & 3 deletions packages/ui/src/components/alert/alert.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { tv } from 'tailwind-variants';
export const styles = tv(
{
slots: {
base: 'typography-body-10 relative mb-4 xsl:flex',
icon: 'float-left mr-1 flex-none xsl:mr-2',
body: 'relative flex-1 xsl:top-[0.125rem] [&_a]:underline',
base: 'typography-body-10 xsl:flex relative mb-4',
icon: 'xsl:mr-2 float-left mr-1 flex-none',
body: 'xsl:top-[0.125rem] relative flex-1 overflow-hidden [&_a]:underline',
heading: 'typography-body-9 mb-2 font-bold',
close: 'absolute right-[0.1875rem] top-[0.1875rem] p-1 hover:opacity-[0.8]',
},
Expand Down

0 comments on commit 615905f

Please sign in to comment.