Skip to content

Commit

Permalink
FIX: Narrow scope of style rule for GitHub & GitLab link shortening (#…
Browse files Browse the repository at this point in the history
…1167)

Fixes #1156
  • Loading branch information
bheberlein committed Feb 8, 2023
1 parent 75ee781 commit 3a59b4e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/pydata_sphinx_theme/assets/styles/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,13 @@ a {
}

// set up a icon next to the shorten links from github and gitlab
&::before {
color: var(--pst-color-text-muted);
font-family: "Font Awesome 6 Brands";
margin-right: 0.25rem;
.github,
.gitlab {
&::before {
color: var(--pst-color-text-muted);
font-family: "Font Awesome 6 Brands";
margin-right: 0.25rem;
}
}

&.github::before {
Expand Down

0 comments on commit 3a59b4e

Please sign in to comment.