Skip to content

Commit

Permalink
Justering padding søkeresulater + fjerne ubrukt kode
Browse files Browse the repository at this point in the history
  • Loading branch information
PerOlavM committed Jun 21, 2024
1 parent 3457bfd commit f96a004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/client/src/styles/search-hits.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
color: inherit;
display: grid;
grid-template-columns: auto 1fr;
gap: var(--a-spacing-4);
padding: var(--a-spacing-4);
padding-left: 0;
gap: var(--a-spacing-2);
padding: var(--a-spacing-3) 0;
}

.searchMoreHits a {
Expand Down
3 changes: 0 additions & 3 deletions packages/client/src/views/search-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ class SearchMenu extends HTMLElement {
}

disconnectedCallback() {
const mainMenu = document.getElementById("decorator-main-menu");
mainMenu && mainMenu.classList.remove("hidden");
console.log(mainMenu);
if (this.getAttribute("data-auto-focus") !== null) {
this.parentDropdown?.removeEventListener("menuopened", this.focus);
}
Expand Down

0 comments on commit f96a004

Please sign in to comment.