Skip to content

Commit

Permalink
chore: NoModel small styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Oct 9, 2023
1 parent 2445502 commit b2b71cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const StyledInforPage = styled.div`
&.scaleHight {
height: calc(100% - 75.5px);
padding-top: 5%;
}
width: 100%;
Expand Down
4 changes: 4 additions & 0 deletions src/features/Results/NoResults/NoResults.styled.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import styled from 'styled-components'
import { spacings } from '../../../tokens/spacings'

const StyledImg = styled.img`
scale: 85%;
`
export const TextDiv = styled.div`
display: flex;
flex-direction: column;
align-items: center;
row-gap: ${spacings.MEDIUM};
`
export { StyledImg as Img }
2 changes: 1 addition & 1 deletion src/features/Results/NoResults/NoResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as Styled from './NoResults.styled'
export const NoResults = () => {
return (
<InfoPageComponent scaleHight="true">
<img src={NoResultPicture} alt="altText" />
<Styled.Img src={NoResultPicture} alt="altText" />
<Styled.TextDiv>
<Typography variant="h4">
Oh no! It seems we don’t have any results for this model yet
Expand Down

0 comments on commit b2b71cc

Please sign in to comment.