Skip to content

Commit

Permalink
Fixed table css for endpoint section #56
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Parrello committed Aug 29, 2018
1 parent 3cef2ad commit 8469595
Showing 1 changed file with 24 additions and 20 deletions.
44 changes: 24 additions & 20 deletions src/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,30 @@ body {
a {
color: $color-link
}

pre {
overflow-x: auto;
font-family: "Source Code Pro", monospace;
}

table {
th,
td {
white-space: normal;
word-break: break-word;
}
}
}

table {
th,
td {
padding-left: $padding-left-table-column !important;

&:first-of-type {
padding-left: 0;
}
}
}

.opblock-tag {
Expand Down Expand Up @@ -105,24 +129,4 @@ body {
}
}
}

pre {
overflow-x: auto;
font-family: "Source Code Pro", monospace;
}

table {
th,
td {
padding-left: $padding-left-table-column !important;
white-space: normal;
word-break: break-word;

&:first-of-type {
padding-left: 0;
white-space: nowrap;
word-break: normal;
}
}
}
}

0 comments on commit 8469595

Please sign in to comment.