Skip to content

Commit

Permalink
edited the styling again to memos page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanditha-Prabhu committed May 20, 2024
1 parent 52230ff commit ba57647
Showing 1 changed file with 5 additions and 41 deletions.
46 changes: 5 additions & 41 deletions components/Memos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,38 +26,17 @@ const Memos = ({ state }) => {
{memos.map((memo, index) => (
<tr key={index}>
<td
style={{
backgroundColor: "dodgerblue",
border: "1px solid white",
borderCollapse: "collapse",
padding: "7px",
width: "100px",
color: "white",
}}
className=" border-2 px-3 text-slate-100 py-10 text-left"
>
{memo.user_name}
</td>
<td
style={{
backgroundColor: "dodgerblue",
border: "1px solid white",
borderCollapse: "collapse",
padding: "7px",
width: "100px",
color: "white",
}}
className=" border-2 px-3 text-slate-100 py-10 text-left"
>
{memo.file_name}
</td>
<td
style={{
backgroundColor: "dodgerblue",
border: "1px solid white",
borderCollapse: "collapse",
padding: "7px",
width: "300px",
color: "white",
}}
className=" border-2 px-3 text-slate-100 py-10 text-left"
>
{memo.column_names.join(", ")}
{/* If you need more complex formatting, you can use something like:
Expand All @@ -66,27 +45,12 @@ const Memos = ({ state }) => {
))} */}
</td>
<td
style={{
backgroundColor: "dodgerblue",
border: "1px solid white",
borderCollapse: "collapse",
padding: "7px",
width: "800px",
color: "white",
}}
className=" border-2 px-3 text-slate-100 py-10 text-left"
>
{new Date(memo.timestamp * 1000).toLocaleString()}
</td>
<td
className="container-fluid"
style={{
backgroundColor: "dodgerblue",
border: "1px solid white",
borderCollapse: "collapse",
padding: "7px",
width: "400px",
color: "white",
}}
className=" border-2 px-3 text-slate-100 py-10 text-left"
>
{memo.from}
</td>
Expand Down

0 comments on commit ba57647

Please sign in to comment.