Skip to content

Commit

Permalink
Made the tables responsive of github-badges page.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishanurag committed Aug 7, 2024
1 parent b454cbd commit 019bff7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions githubbadge.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,21 @@
overflow-x: auto;
display: block;
}
table, th, td {
table {
display: block;
width: 100%;
overflow-x: scroll;
}
th, td {
box-sizing: border-box;
padding: 10px;
text-align: center !important;
}
td {
border: none;
border-bottom: 1px solid #ddd;
position: relative;
padding-left: 50%;
/* padding-left: 50%; */
text-align: right;
}
td::before {
Expand Down

0 comments on commit 019bff7

Please sign in to comment.