diff --git a/r2/r2/public/static/css/reddit.css b/r2/r2/public/static/css/reddit.css index 7efdec000..495b57eac 100755 --- a/r2/r2/public/static/css/reddit.css +++ b/r2/r2/public/static/css/reddit.css @@ -5986,10 +5986,24 @@ tr.gold-accent + tr > td { border-collapse: separate; border-radius: 3px; padding: 5px 10px; + border-spacing: 0; width: 100%; } -.api-help .parameters .name { +.api-help .parameters th, +.api-help .parameters td { + vertical-align: top; + border-bottom: 1px dotted #ccc; + padding: 5px 0; + margin: 0; +} + +.api-help .parameters tr:last-child th, +.api-help .parameters tr:last-child td { + border: none; +} + +.api-help .parameters th { font-family: 'Courier New', monospace; width: 50%; } diff --git a/r2/r2/templates/apihelp.html b/r2/r2/templates/apihelp.html index 062eb0143..c223279b4 100644 --- a/r2/r2/templates/apihelp.html +++ b/r2/r2/templates/apihelp.html @@ -186,16 +186,16 @@ %if params: %for param in sorted(params):