Skip to content

Commit

Permalink
doc: fix inability to hover version-picker
Browse files Browse the repository at this point in the history
0.25rem = height of `li` - offset for `ol.version-picker` = 1rem - 1.25rem
`left` and `right` is -1 because of the border
  • Loading branch information
DmitryScaletta authored Jul 20, 2020
1 parent 00823f2 commit 75f5571
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75f5571

Please sign in to comment.