From 1e8f2665916c049748a3985a2fce736701925095 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Sat, 2 Jan 2021 20:04:25 -0500 Subject: [PATCH] API Docs: CSS: Fix long enum list This commit makes some adjustments to a previous fix which broke with new versions of sphinx/theme. Fixes T76453 --- doc/python_api/static/css/theme_overrides.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/python_api/static/css/theme_overrides.css b/doc/python_api/static/css/theme_overrides.css index 85f65e95b2c..c237a958f5f 100644 --- a/doc/python_api/static/css/theme_overrides.css +++ b/doc/python_api/static/css/theme_overrides.css @@ -1,7 +1,5 @@ -/* Prevent Long enum lists */ -.field-body { - display: block; - width: 100%; +/* T76453: Prevent Long enum lists */ +.field-list li { max-height: 245px; overflow-y: auto !important; }