Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed table sizing with length of notes #68

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Table scroll overlap fixed
Jasmine Yuen committed Oct 22, 2024
commit 1058a1e90abef1283cd9d18e182f18bd43f7dc19
7 changes: 5 additions & 2 deletions src/App.tsx
jyuenbeep marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -28,9 +28,12 @@ export default function App() {
</div>
</div>

<div className="search-bar">
<SearchBar setFilteredData={setFilteredData}/>
<div className="search-bar-container">
<div className="search-bar">
<SearchBar setFilteredData={setFilteredData}/>
</div>
</div>

</div>
<div className="preview-contain-result">
<PreviewCard />
13 changes: 11 additions & 2 deletions src/css/App.css
Original file line number Diff line number Diff line change
@@ -14,9 +14,12 @@
}

.search-bar {
width: 100%;
}

.search-bar-container {
width: 30%;
background-color: #e0e0e0;
border-radius: 0;
}

.main-content {
@@ -31,6 +34,8 @@
.results-container {
display: flex;
flex-direction: row;
height: 70%;
flex-shrink: 0;
}

.table-contain-result {
@@ -49,9 +54,13 @@

.scrollable {
overflow-y: auto;
flex-shrink: 0;
}

.scrollable-container {
height: 700px;
overflow-y: auto;
}

.preview-contain-result {
z-index: 1000;
}