Skip to content

Change small-footer to position:fixed in some places - #51185

Merged
rshipp merged 2 commits into
stagingfrom
small-footer-fixed-2
Apr 10, 2023
Merged

Change small-footer to position:fixed in some places#51185
rshipp merged 2 commits into
stagingfrom
small-footer-fixed-2

Conversation

@rshipp

@rshipp rshipp commented Apr 6, 2023

Copy link
Copy Markdown
Contributor

Try another fix for #51166, which was reverted in #51183. I'm not sure this is the best fix, since this page-small-footer element is used in multiple places that I don't completely understand.

Example Eyes failures:
image
image

Sticky when viewing a level (or level summary):

image
image

Unchanged when viewing a published project:

image
image

@rshipp rshipp changed the title Change small-footer to position:fixed for AppLab levels Change small-footer to position:fixed in some places Apr 6, 2023
@dju90
dju90 requested a review from bethanyaconnor April 7, 2023 18:32
}

/* Override footer position on some pages, but not published project views */
#page-small-footer .small-footer-base {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain why this doesn't affect the published projects view?

@rshipp rshipp Apr 10, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That view just doesn't have a #page-small-footer element at all. I checked to see if i could verify that ID was only used in the level show view, but it's actually from a _small_footer.html.haml partial that's conditionally included in application.html.haml, which makes it difficult to tell where else it might actually show up

@rshipp

rshipp commented Apr 10, 2023

Copy link
Copy Markdown
Contributor Author

Manually verified all URLs from failing eyes tests are correct with this change.

@rshipp
rshipp marked this pull request as ready for review April 10, 2023 18:33
@rshipp
rshipp merged commit d5aa819 into staging Apr 10, 2023
@rshipp
rshipp deleted the small-footer-fixed-2 branch April 10, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants