From 75f5571486e83afad0e3aa23ada66d431acce036 Mon Sep 17 00:00:00 2001 From: DmitryScaletta Date: Tue, 21 Jul 2020 00:15:42 +0300 Subject: [PATCH] doc: fix inability to hover version-picker 0.25rem = height of `li` - offset for `ol.version-picker` = 1rem - 1.25rem `left` and `right` is -1 because of the border --- doc/api_assets/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index a143fd88013b4c..bc01d068c6deee 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -149,6 +149,15 @@ ol.version-picker { width: 100%; } +ol.version-picker::before { + content: ''; + position: absolute; + top: -.25rem; + left: -1px; + right: -1px; + height: .25rem; +} + #gtoc ol.version-picker li { display: block; border-right: 0;