Skip to content

Commit

Permalink
chore: added Zara as reviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
pancaspe87 committed Oct 16, 2024
1 parent 98b2491 commit 4f8393b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @JakeLane @pancaspe87 @liamqma @dddlr
* @JakeLane @pancaspe87 @liamqma @dddlr @zesmith2
**/package.json
yarn.lock
33 changes: 28 additions & 5 deletions stories/binary-expression.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,34 @@ export const OrderOfOperations = (): JSX.Element => {
return <Component>Order of operations - padding: 5 * (spacing + 2)</Component>;
};

const RightArrow = styled.div({

Check warning on line 68 in stories/binary-expression.tsx

View workflow job for this annotation

GitHub Actions / build (14.x)

'RightArrow' is assigned a value but never used

Check warning on line 68 in stories/binary-expression.tsx

View workflow job for this annotation

GitHub Actions / build (16.x)

'RightArrow' is assigned a value but never used

Check warning on line 68 in stories/binary-expression.tsx

View workflow job for this annotation

GitHub Actions / build (18.x)

'RightArrow' is assigned a value but never used
width: '30px',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
fontSize: '1.5em',
'&::before': {
content: '→',
},
});

export const CalcUtility = (): JSX.Element => {
const Component = styled.div`
${commonStyles};
width: calc(100% - ${spacing * 2}px);
`;
const Component = styled.div({
color: 'white',
position: 'relative',
counterIncrement: 'step',
width: '100%',
'&::before': {
// content: 'wtf',
content: 'counter(step)',
backgroundColor: 'red',
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
},
});

return <Component>calc() utility - width: calc(100% - spacing * 2)</Component>;
};
Expand All @@ -78,7 +101,7 @@ export const NonStaticValues = (): JSX.Element => {
const random = Math.random;
const Component = styled.div`
${commonStyles};
/*
/*
Using these properties so randomness does not cause
visual difference for tests
*/
Expand Down

0 comments on commit 4f8393b

Please sign in to comment.