Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix : #192 Added styles for table element #198

Merged
merged 2 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
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
16 changes: 16 additions & 0 deletions guidemaker-ember-template/src/styles/addon.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,19 @@ h5 > a:hover > svg,
h6 > a:hover > svg {
fill: var(--color-brand);
}


/* table styles */
table {
width: 100%;
text-align: left;
border-collapse: collapse;
}
thead th{
background-color: var(--color-gray-200);
}
td, th {
border: 1px solid var(--color-gray-300);
padding: 4px;
ArunPragadeeswar007 marked this conversation as resolved.
Show resolved Hide resolved
}

14 changes: 14 additions & 0 deletions test-app/guides/release/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,17 @@ Asterisks
___

Underscores

# Tables
<table>
<thead>
<tr><th>Action</th><th>HTTP Verb</th><th>URL</th></tr>
</thead>
<tbody>
<tr><th>Find Record</th><td>GET</td><td>/posts/123</td></tr>
<tr><th>Find All</th><td>GET</td><td>/posts</td></tr>
<tr><th>Update</th><td>PUT</td><td>/posts/123</td></tr>
<tr><th>Create</th><td>POST</td><td>/posts</td></tr>
<tr><th>Delete</th><td>DELETE</td><td>/posts/123</td></tr>
</tbody>
</table>
IgnaceMaes marked this conversation as resolved.
Show resolved Hide resolved