Skip to content

Commit

Permalink
Fix a few classes and change fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Nov 15, 2024
1 parent a35ffb5 commit fb9b456
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
6 changes: 6 additions & 0 deletions frontend/.browserlistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
last 2 Chrome versions
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
2 changes: 1 addition & 1 deletion frontend/package-lock.json

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

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@cypress/skip-test": "^2.6.1",
"@types/jest": "^29.5.13",
"@types/uuid": "^10.0.0",
"browserslist": "^4.24.2",
"cypress": "^13.15.0",
"cypress-real-events": "^1.13.0",
"jest": "^29.7.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class="key-result rounded-2 p-3 w-100 focus-outline"
tabindex="0"
>
<h3 class="fw-normal linebreak mb-3">{{ keyResult.title }}</h3>
<h3 class="linebreak mb-3">{{ keyResult.title }}</h3>
<app-scoring [keyResult]="keyResult" [isDetail]="false" [attr.data-testId]="'scoring-component'"></app-scoring>
<div class="d-flex justify-content-between mt-2">
<div class="d-flex justify-content-center align-items-center flex-wrap">
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/assets/fonts/Roboto.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@font-face {
font-family: Roboto;
font-display: swap;
font-family: "Roboto";
font-style: normal;
font-weight: 400;
src: url('./Roboto/RobotoFlex-Regular.ttf') format('ttf'),
url('./Roboto/RobotoFlex-Regular.woff2') format('woff2'),
url('./Roboto/RobotoFlex-Regular.woff') format('woff');
font-display: swap;
src:
url('./Roboto/RobotoFlex-Regular.woff2') format('woff2'),
url('./Roboto/RobotoFlex-Regular.woff') format('woff'),
url('./Roboto/RobotoFlex-Regular.ttf') format('truetype');
}
3 changes: 2 additions & 1 deletion frontend/src/style/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

html,
body.okr {
font-size: 100%;
margin: 0;
padding: 0;
font-weight: 400;
line-height: 115% !important;
background-color: $overview-bg;
font-family: "Roboto", sans-serif;
--bs-body-font-family: "Roboto", "Helvetica Neue", sans-serif;
Expand Down

0 comments on commit fb9b456

Please sign in to comment.