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

server/tailsql: an indirect note about pronunciation #16

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

creachadair
Copy link
Member

No description provided.

@creachadair creachadair merged commit c87a5ec into main Sep 17, 2023
1 check passed
@creachadair creachadair deleted the mjf/squirrel branch September 17, 2023 03:30
Comment on lines +29 to +32
function maybeRunSquirrel() {
if (!shouldSquirrel()) {
return;
}

Choose a reason for hiding this comment

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

this sequence of function names is SO funny 😂

// Squirrel art from:
// http://saralara93.blogspot.com/2014/03/concept-art-part-3-squirrel.html

const nut = document.createElement("div");

Choose a reason for hiding this comment

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

You could put this element in the HTML instead and just have it always be there but invisible, so that the whole interface doesn't shift when the squirrel appears.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, I had originally added it there with display:none, but it still moves the item above. Probably I should move the "version" stamp inside the container so the squirrel runs over top of it instead of hoisting it.

Choose a reason for hiding this comment

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

display: none collapses the element even if you have a height/width set, you want visibility: hidden

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