Skip to content

Commit

Permalink
styling: footer zlayer on ecomm search page.html component
Browse files Browse the repository at this point in the history
  • Loading branch information
skeptrunedev committed Dec 19, 2024
1 parent 8ba1270 commit ea2d54e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/search-component/src/TrieveModal/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ body {
}

.no-results {
@apply text-sm text-center my-8 flex flex-col gap-2;
@apply text-sm text-center my-8 flex flex-col gap-2 col-span-full;

> p.no-results-text {
@apply font-medium;
Expand Down
2 changes: 0 additions & 2 deletions clients/search-component/src/TrieveModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ const Modal = () => {
}

if (chatOuterWrapper) {
console.log("here1");
(chatOuterWrapper as HTMLElement).style.maxHeight =
`calc(${viewportHeight}px - ${
props.type == "ecommerce" ? "220px" : "175px"
})`;
}
} else {
console.log("here");
if (chatOuterWrapper) {
(chatOuterWrapper as HTMLElement).style.maxHeight = `calc(60vh - ${
props.type == "ecommerce" ? "220px" : "200px"
Expand Down
4 changes: 4 additions & 0 deletions server/src/public/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@
z-index: 20;
}

.trieve-footer {
z-index: 20;
}

.floating-action-button {
z-index: 20;
}
Expand Down

0 comments on commit ea2d54e

Please sign in to comment.