Skip to content

Commit

Permalink
fix: aligned tables left (#3899)
Browse files Browse the repository at this point in the history
Description
---
Aligned tables to left on RFC docs

Motivation and Context
---
Smaller tables look better when not centered

How Has This Been Tested?
---
Tested locally
  • Loading branch information
NovaT82 authored Mar 14, 2022
1 parent 2d6e3a6 commit 1279773
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions RFC/src/theme/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ h4, h5 { margin-top: 2em; }

.header + .header h3,
.header + .header h4,
.header + .header h5 {
.header + .header h5 {
margin-top: 1em;
}

Expand Down Expand Up @@ -84,12 +84,12 @@ a.header:target h4:before {
}

table {
margin: 0 auto;
border-collapse: collapse;
}
table td {
padding: 3px 20px;
border: 1px var(--table-border-color) solid;
padding: 5px 10px;
}
table thead {
background: var(--table-header-bg);
Expand All @@ -98,6 +98,9 @@ table thead td {
font-weight: 700;
border: none;
}
table thead th {
padding: 5px 10px;
}
table thead tr {
border: 1px var(--table-header-bg) solid;
}
Expand Down Expand Up @@ -147,4 +150,3 @@ blockquote {
.tooltipped .tooltiptext {
visibility: visible;
}

0 comments on commit 1279773

Please sign in to comment.