File tree 2 files changed +31
-0
lines changed
packages/layer7-apihub/src
documentation/Documentation
2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,34 @@ const useStyles = makeStyles(
74
74
theme => ( {
75
75
markdown : {
76
76
padding : theme . spacing ( 2 ) ,
77
+ '& code' : {
78
+ whiteSpace : 'pre-wrap' ,
79
+ } ,
80
+ '& table' : {
81
+ fontSize : '14px' ,
82
+ lineHeight : '1.7' ,
83
+ maxWidth : '100%' ,
84
+ overflow : 'auto' ,
85
+ border : '1px solid #f6f6f6' ,
86
+ borderCollapse : 'collapse' ,
87
+ borderSpacing : 0 ,
88
+ boxSizing : 'border-box' ,
89
+ } ,
90
+ '& table th' : {
91
+ textAlign : 'center' ,
92
+ fontWeight : 700 ,
93
+ border : '1px solid #efefef' ,
94
+ padding : '10px 6px' ,
95
+ backgroundColor : '#f5f7fa' ,
96
+ wordBreak : 'break-word' ,
97
+ } ,
98
+ '& table td' : {
99
+ border : '1px solid #efefef' ,
100
+ textAlign : 'left' ,
101
+ padding : '10px 15px' ,
102
+ wordBreak : 'break-word' ,
103
+ minWidth : '60px' ,
104
+ } ,
77
105
} ,
78
106
} ) ,
79
107
{
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ const useStyles = makeStyles(
59
59
width : '100%' ,
60
60
height : '40vh' ,
61
61
} ,
62
+ '& code' : {
63
+ whiteSpace : 'pre-wrap' ,
64
+ } ,
62
65
} ,
63
66
} ,
64
67
{
You can’t perform that action at this time.
0 commit comments