Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RTD version switcher hiding #1398

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Prev Previous commit
proper default
drammock committed Aug 5, 2023
commit 1d36e92ae546407eff5c1853f12585fce372ccf4
4 changes: 2 additions & 2 deletions src/pydata_sphinx_theme/assets/styles/abstracts/_links.scss
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ $link-hover-decoration-thickness: unquote("max(3px, .1875rem, .12em)") !default;

// Ensures links have an underline decoration on hover - distinct from the
// default behaviour
@mixin link-decoration-hover($important: true) {
@mixin link-decoration-hover($important: false) {
@if $link-hover-decoration-thickness {
text-decoration-thickness: $link-hover-decoration-thickness
if-important($important);
@@ -57,7 +57,7 @@ $link-hover-decoration-thickness: unquote("max(3px, .1875rem, .12em)") !default;

// Simple hover style - can be used alone or in conjunction with other mixins
// Add the text underline and change in thickness on hover
@mixin link-style-hover($important: true) {
@mixin link-style-hover($important: false) {
&:hover {
@include link-decoration($important: $important);
@include link-decoration-hover($important: $important);