Skip to content

Commit

Permalink
Merge pull request #53 from hytech-racing/52-zoomed-in
Browse files Browse the repository at this point in the history
ensure search items not being clipped off by bottom panel
  • Loading branch information
ryanlau authored Nov 2, 2024
2 parents 2211643 + 211891a commit 1d6dd4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/css/PreviewCard.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.preview-container {
padding-top: 10px;
width: 100%;
height: auto;
justify-content: center;
Expand Down
4 changes: 3 additions & 1 deletion src/css/SearchBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
max-width: 360px;
font-size: 15px;
overflow: auto;
padding-bottom: 10px;
border-left: solid #D1BF80 2px;
}


Expand All @@ -12,8 +14,8 @@
border-radius: 10px;
width: 100%;
flex: 1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 500px;
height: fit-content;
}

.search-filter-container h1 {
Expand Down
4 changes: 1 addition & 3 deletions src/routes/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ export default function Root() {

<SearchBar setSearchFilters={setSearchFilters} setSearch={setSearch} />
</div>
<div className="preview-contain-result">
<PreviewCard selectedRow={selectedRow} selectedData={selectedData} />
</div>
<PreviewCard selectedRow={selectedRow} selectedData={selectedData} />
</>
);
}

0 comments on commit 1d6dd4d

Please sign in to comment.