[docs] fix version warning banner location (#11286)

This commit is contained in:
Sumanth Ratna 2020-10-09 00:21:42 -04:00 committed by GitHub
parent b450cb030a
commit 40071739dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,10 @@ img.inline-figure {
#version-warning-banner {
/* Make version warning clickable */
z-index: 1;
margin-left: 0;
/* 20% is for ToC rightbar */
/* 2 * 1.5625em is for horizontal margins */
width: calc(100% - 20% - 2 * 1.5625em);
}
span.rst-current-version > span.fa.fa-book {