From 37843b6e3fd4955d5b1c758a83d9caa7b64b64a1 Mon Sep 17 00:00:00 2001 From: Sumanth Ratna Date: Wed, 16 Sep 2020 22:41:14 -0400 Subject: [PATCH] [docs] fix book icon in version flyout menu (#10844) Co-authored-by: Richard Liaw --- doc/source/_static/css/custom.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/_static/css/custom.css b/doc/source/_static/css/custom.css index 6d6cb6187..bdae3a99d 100644 --- a/doc/source/_static/css/custom.css +++ b/doc/source/_static/css/custom.css @@ -53,6 +53,12 @@ img.inline-figure { z-index: 1; } +span.rst-current-version > span.fa.fa-book { + /* Move the book icon away from the top right + * corner of the version flyout menu */ + margin: 10px 0px 0px 5px; +} + /* Adjustment to Version block */ .rst-versions { z-index: 1200;