Skip to content

Commit

Permalink
Fix initial position of two icons on overview page
Browse files Browse the repository at this point in the history
The initial `background-position`s of the lock and dashboard icons on
the overview page were not hiding them like the other icons. This patch
adjusts the initial `background-position` values so that the icons are
out of view when the animation starts.
  • Loading branch information
adamzap authored and bmispelon committed Dec 7, 2024
1 parent 061e072 commit 402eb0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangoproject/scss/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1752,15 +1752,15 @@ h2+.list-link-soup {
}

&.icon-lock {
background-position: 144px -206px;
background-position: 148px -206px;

&.inview {
background-position: -36px -96px;
}
}

&.icon-dashboard {
background-position: -360px 201px;
background-position: -367px 201px;

&.inview {
background-position: -270px -9px;
Expand Down

0 comments on commit 402eb0b

Please sign in to comment.