Skip to content

Commit

Permalink
Chore: Removing unecessary css and increasing width that go to top li…
Browse files Browse the repository at this point in the history
…nk is removed
  • Loading branch information
JT-39 committed Dec 17, 2024
1 parent 45570eb commit 89d11ca
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions www/dfe_shiny_gov_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1015,25 +1015,6 @@ screen and (forced-colors:active) {
}
}

/* Default behavior: height is 96vh, "Return to top" visible */
.dfe-contents-links {
height: 96vh;
}

.return-to-top {
display: block; /* Default visibility */
}

/* Media query: At widths 1017px or less */
@media (max-width: 1017px) {
.dfe-contents-links {
height: auto; /* Reset height to normal */
}
.return-to-top {
display: none; /* Hide the "Return to top" link */
}
}

/* Adjusting top and bottom page links so that the go to top dissapears
from left nevigation when the screen shrinks (and no extra space between
go to bottom link and start of the content) */
Expand All @@ -1047,7 +1028,7 @@ go to bottom link and start of the content) */
}

/* Media query: At widths 1017px or less */
@media (max-width: 1033px) {
@media (max-width: 1035px) {
.dfe-contents-links {
height: auto; /* Reset height to normal */
}
Expand Down

0 comments on commit 89d11ca

Please sign in to comment.