From c33cece59eb2a50b983eafd84294caab23c574f3 Mon Sep 17 00:00:00 2001 From: neri Date: Sat, 11 Feb 2023 00:37:58 +0100 Subject: [PATCH] fix: scrolling in usage details --- Cargo.lock | 2 +- Cargo.toml | 2 +- static/index.css | 7 +++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dc2d917..4b64f0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -424,7 +424,7 @@ dependencies = [ [[package]] name = "datatrash" -version = "2.2.0" +version = "2.2.1" dependencies = [ "actix-files", "actix-governor", diff --git a/Cargo.toml b/Cargo.toml index 45aed52..fe6f3b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "datatrash" -version = "2.2.0" +version = "2.2.1" authors = ["neri"] edition = "2021" diff --git a/static/index.css b/static/index.css index 0c3a1fd..cb978be 100644 --- a/static/index.css +++ b/static/index.css @@ -73,6 +73,13 @@ textarea, details { display: inline; + max-width: 100%; +} + +details > pre { + margin: 0; + padding: 1rem 0.5rem; + overflow-x: scroll; } details summary {