Skip to content

Commit aa459c3

Browse files
author
Kayla Wilkins
committed
adjustments to some typography and overflows for table
1 parent 64d3203 commit aa459c3

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/css/components/0_utilities/typography.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ input[type="text"] {
2020

2121
.api-body code {
2222
@apply p-2 mt-2 mb-4 bg-ThemeBeige block;
23+
overflow-x: auto;
2324
}
2425

2526
.api-desc code {
@@ -36,6 +37,7 @@ input[type="text"] {
3637

3738
.api-body table {
3839
width: 100%;
40+
overflow-x: scroll;
3941
@apply border border-grey-light;
4042
}
4143

@@ -46,6 +48,7 @@ input[type="text"] {
4648
.api-body th,
4749
.api-body td {
4850
@apply p-2 border border-grey-light;
51+
@apply leading-tight;
4952
}
5053

5154
.api-body table code {

src/css/components/4_pages/api-page.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
.api-body {
2929
@apply mb-8;
30+
overflow: hidden;
3031
}
3132

3233
.endpoint-anchor {

src/pages/api/v4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const APIDocs = ({ data }) => {
3636
source={n.info.description}
3737
escapeHtml={false}
3838
renderers={{ heading: HeadingRenderer }}
39-
className="mt-8 api-body"
39+
className="md:mt-8 api-body"
4040
/>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)