Skip to content

Commit

Permalink
Merge pull request #4 from 0xffan/style-table
Browse files Browse the repository at this point in the history
Optimize table style
  • Loading branch information
ntk148v committed Jul 17, 2023
2 parents 8feb7f4 + 2c0255a commit b96d3df
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions assets/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,28 @@ img {
@apply list-decimal ml-6;
}

/* ##################### */
/* Table */
/* ##################### */
.content table {
@apply overflow-auto block border-spacing-0 border-collapse my-4;
@apply overflow-auto block my-4 min-w-full divide-y-2 text-sm;
}

.content table thead {
@apply ltr:text-left rtl:text-right;
}

.content table tbody {
@apply divide-y;
}

.content tr th {
@apply font-medium;
}

.content tr th,
.content tr td {
@apply p-3 border-2 border-solid border-muted;
@apply px-4 py-2;
}

.content img {
Expand Down

0 comments on commit b96d3df

Please sign in to comment.