diff --git a/libretranslate/static/css/main.css b/libretranslate/static/css/main.css index 1d5ac64..8712dd5 100644 --- a/libretranslate/static/css/main.css +++ b/libretranslate/static/css/main.css @@ -381,6 +381,16 @@ select { border: 0; } +.code-row-wrapper { + display: flex; + flex-wrap: wrap; +} + +.code-box { + display: flex; + flex-direction: column; +} + .code { font-size: 90%; padding: 1rem 1.5rem; @@ -391,6 +401,7 @@ select { min-height: 280px; width: 100%; overflow: auto; + flex-grow: 1; } code[class*="language-"], pre[class*="language-"] { diff --git a/libretranslate/templates/index.html b/libretranslate/templates/index.html index 3fec7e1..aec896d 100644 --- a/libretranslate/templates/index.html +++ b/libretranslate/templates/index.html @@ -287,13 +287,13 @@
-
-
+
+

{{ _h("Request") }}


 							
-
+

{{ _h("Response") }}