From ec5a685ee297cc070d1081b3c8bb8aa288f6d1a3 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 27 Mar 2022 18:21:14 +0300 Subject: [PATCH] limit details width in compact mode --- edit/edit.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/edit/edit.css b/edit/edit.css index 9fe32b74..6a3e482f 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -1086,6 +1086,7 @@ label { position: absolute; overflow: hidden auto; max-height: var(--max-height, 10vh); + max-width: calc(100vw - 2 * var(--pad)); background: var(--bg); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); padding: var(--pad); @@ -1113,6 +1114,10 @@ label { flex: 0 0 auto; overflow-x: hidden; } + #publish dd { + white-space: normal; + max-height: 1.25em; + } #sections { padding-left: 0; }