Skip to content

Commit

Permalink
Various table fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed May 27, 2024
1 parent 41c4cf5 commit fe7350b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/pydata_sphinx_theme/assets/styles/content/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
table {
@include table-colors;

display: table;
overflow: auto;

// default to table-center
margin-left: auto;
margin-right: auto;
Expand All @@ -33,15 +30,15 @@ table caption {
// MyST Markdown tables use these classes to control alignment
th,
td {
&.text-align\:left {
&.text-left {
text-align: left;
}

&.text-align\:right {
&.text-right {
text-align: right;
}

&.text-align\:center {
&.text-center {
text-align: center;
}
}
Expand All @@ -57,7 +54,7 @@ td {
}

.pst-scrollable-table-container {
// Put a scrollbar just below tables that are too wide to fit within the main
// column
// Put a horizontal scrollbar just below tables that are too wide to fit
// within the main column
overflow-x: auto;
}

0 comments on commit fe7350b

Please sign in to comment.