Skip to content

Commit 211891a

Browse files
committed
ensure search items not being clipped off by bottom panel
1 parent 2211643 commit 211891a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/css/PreviewCard.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.preview-container {
2+
padding-top: 10px;
23
width: 100%;
34
height: auto;
45
justify-content: center;

src/css/SearchBar.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
max-width: 360px;
44
font-size: 15px;
55
overflow: auto;
6+
padding-bottom: 10px;
7+
border-left: solid #D1BF80 2px;
68
}
79

810

@@ -12,8 +14,8 @@
1214
border-radius: 10px;
1315
width: 100%;
1416
flex: 1;
15-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
1617
max-width: 500px;
18+
height: fit-content;
1719
}
1820

1921
.search-filter-container h1 {

src/routes/root.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,7 @@ export default function Root() {
174174

175175
<SearchBar setSearchFilters={setSearchFilters} setSearch={setSearch} />
176176
</div>
177-
<div className="preview-contain-result">
178-
<PreviewCard selectedRow={selectedRow} selectedData={selectedData} />
179-
</div>
177+
<PreviewCard selectedRow={selectedRow} selectedData={selectedData} />
180178
</>
181179
);
182180
}

0 commit comments

Comments
 (0)