Skip to content

Commit

Permalink
fix: 🐛 header and update snapshots again (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskaransarkaria authored Nov 29, 2023
1 parent cfef65d commit fb0ffeb
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test:unit": "vitest",
"test:unit:ci": "vitest run",
"test:integration": "kill $(lsof -i:8080) || true && npm run mock-server && playwright test && kill $(lsof -i:8080)",
"test:integration:update-snapshots": "kill $(lsof -i:8080) || true && npm run mock-server && playwright test --update-snapshots && kill $(lsof -i:8080)",
"test:integration:ci": "npm run mock-server && npx playwright test",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down
14 changes: 12 additions & 2 deletions src/lib/components/Header/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@
height: 75px;
}
.left-container {
width: 35%;
}
.basket-icon,
.search-icon {
width: 40px;
Expand All @@ -370,7 +374,7 @@
@media (min-width: 1400px) {
.left-container {
width: 25%;
width: 35%;
}
.enki-logo {
Expand All @@ -379,6 +383,12 @@
}
}
@media (min-width: 1500px) {
.left-container {
width: 35%;
}
}
@media (min-width: 1960px) {
.basket-icon,
.search-icon {
Expand All @@ -391,7 +401,7 @@
}
.left-container {
width: 22.5%;
width: 25%;
}
}
</style>
Binary file modified tests/routes/about.spec.js-snapshots/About-Page-1-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb0ffeb

Please sign in to comment.