Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aazw committed Jan 15, 2025
1 parent 02ee2c5 commit 7c3fffc
Show file tree
Hide file tree
Showing 5 changed files with 533 additions and 463 deletions.
5 changes: 2 additions & 3 deletions node/index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<!doctype html>
<html lang="en">
<html lang="en" >
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>RFC Search</title>
</head>
<body>
Expand Down
10 changes: 6 additions & 4 deletions node/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import Table from "./Table.tsx";

export default function App() {
return (
<>
<div>
<div className="flex flex-col h-full">
<div className="flex-none mx-4">
<h1 className="text-2xl font-bold py-2">RFC Search</h1>
</div>
<Table></Table>
</>
<div className="relative flex grow w-full pb-2">
<Table></Table>
</div>
</div>
);
}
41 changes: 0 additions & 41 deletions node/src/Table.css
Original file line number Diff line number Diff line change
@@ -1,41 +0,0 @@
.toolbar {
width: 100%;
margin-bottom: 20px;
display: flex;
flex-direction: row;
}

.toolbar-input {
flex-grow: 1;
}

.toolbar-total {
white-space: nowrap;
}

.table-container {
width: calc(100%);
display: block;
overflow: auto;
font-size: 10px;
}

table {
min-width: calc(100%);
table-layout: fixed;
border: 1px white solid;
border-collapse: collapse;
}

th,
td {
border: 1px white solid;
padding: 5px;
vertical-align: top;
}

th:nth-child(2),
td:nth-child(2) {
width: 400px;
/* white-space: nowrap; */
}
Loading

0 comments on commit 7c3fffc

Please sign in to comment.