Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #240 from smartive-education/feature/component-fix…
Browse files Browse the repository at this point in the history
…tures

Feature/component fixtures
  • Loading branch information
tomschall authored Mar 10, 2023
2 parents c000bc9 + 09dc970 commit 7fd8398
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export const FileUpload: React.FC<IDrapAndDrop> = ({
accept: {
'image/png': ['.png'],
'image/jpeg': ['.jpeg', '.jpg'],
'image/gif': ['.gif'],
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ const ImageIcon = styled.div(({ isLoading }: ImageStyles) => [
transition
duration-300
ease-in-out
z-50
z-10
`,
isLoading === true && LoadingSpinner,
]);

const Wrapper = styled.div(({ isLoading }: ImageStyles) => [
tw`
rounded-xl
z-50
z-10
opacity-0
group-hover:opacity-100
transition
Expand Down Expand Up @@ -149,7 +149,7 @@ const Figure = styled.figure.attrs({ className: 'group' })(({ type }: ImageStyle
bg-violet-200
hover:bg-violet-600
z-10
z-0
`,
type === 'container' && tw`border-1 border-slate-white`,
(type === 'banner-edit' || type === 'banner-view') && tw`border-none`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const H3Styles = styled.h3(() => [

const H4Styles = styled.h4(() => [
tw`
text-xl w-full
text-xl w-full leading-6
`,
HeadingColor,
HeadingSize,
Expand Down

0 comments on commit 7fd8398

Please sign in to comment.