Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 42-add-typescript
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
#	package.json
#	src/components/BankCard.tsx
#	src/pages/Payslip.tsx
  • Loading branch information
itmilos committed Mar 18, 2024
2 parents 88a6776 + 5070a23 commit c16364d
Show file tree
Hide file tree
Showing 7 changed files with 1,014 additions and 929 deletions.
17 changes: 17 additions & 0 deletions .github/in-solidarity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rules:
master:
level: off
slave:
level: failure
message: >
Please consider an alternative to ``.
See http://example.com/ for more information
foo:
regex:
- /foo/gi
- /foobar/gi
level: failure
ignore:
- '.github/in-solidarity.yml' # default
- '**/*.yml'
147 changes: 96 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,19 @@
"react-favicon": "^1.0.1",
"react-is": "^18.2.0",
"react-router-dom": "^6.10.0",
"react-select": "^5.4.0",
"styled-components": "^5.3.8"
"react-select": "^5.7.2",
"styled-components": "^5.3.10"
},
"devDependencies": {
"@types/styled-components": "^5.1.26",
"@types/react": "^18.0.21",
"@types/react": "^18.0.38",
"@vitejs/plugin-react": "^3.1.0",
"compass-mixins": "^0.12.12",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-react": "^7.32.2",
"prettier": "2.7.1",
"typescript": "^5.0.4",
"sass": "^1.55.0",
"vite": "^4.2.1"
"vite": "^4.3.1"
}
}
9 changes: 9 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ const GlobalStyles = createGlobalStyle`
box-sizing: border-box;
padding: 0;
margin: 0;
-webkit-print-color-adjust:exact !important;
print-color-adjust:exact !important;
color-adjust: exact !important;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
Expand All @@ -33,6 +36,12 @@ const GlobalStyles = createGlobalStyle`
max-width: 100%;
}
input, button, textarea, select { font: inherit; }
@page {
size: tabloid landscape;
margin: 0;
}
@media (prefers-reduced-motion: reduce) {
html:focus-within { scroll-behavior: auto; }
Expand Down
2 changes: 1 addition & 1 deletion src/components/BankCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ overflow: hidden;
text-overflow: ellipsis;
`

export default BankCard;
export default BankCard
Loading

0 comments on commit c16364d

Please sign in to comment.