Skip to content

Commit 62752f4

Browse files
authored
Merge pull request #21 from vinaymavi/copilot/update-table-border-implementation
Add horizontal borders to tables
2 parents 242e5cb + c8d24dc commit 62752f4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,18 @@ input {
100100
}
101101
table {
102102
width: 100%;
103+
border-collapse: collapse;
104+
}
105+
table thead tr {
106+
border-bottom: 2px solid var(--accent);
107+
}
108+
table tbody tr {
109+
border-bottom: 1px solid var(--accent);
110+
}
111+
table th,
112+
table td {
113+
padding: 0.5em 1em;
114+
text-align: left;
103115
}
104116
img {
105117
max-width: 100%;

0 commit comments

Comments
 (0)