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

css bugfix + package-portable-linux script tweak #87

Merged
merged 4 commits into from
Jan 22, 2024

Conversation

sz3
Copy link
Owner

@sz3 sz3 commented Jan 21, 2024

#86 noted an issue with the negative z-index on Firefox -- perhaps due to some extension. I don't know if a fix is strictly necessary (afaik negative z-index is ok), but in looking at the way the elements are layered I think a bit of reorganization is reasonable.

Also:

Headedbranch225 and others added 4 commits January 9, 2024 21:59
Make the code show above the background, currently I only see the background but this fixes it
All for 3 words of intro text...

But this might be fine?
Why would you make the width >100%. Why
@@ -49,8 +49,7 @@ return {
{
// reset zoom
var canvas = document.getElementById('canvas');
canvas.style.zoom = (window.innerWidth / window.outerWidth);
var width = window.outerWidth;
var width = window.innerWidth;
Copy link
Owner Author

Choose a reason for hiding this comment

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

In the process of testing I found a weird interaction with window.outerWidth seemingly being >100% on android firefox? So we'll just use innerWidth...

The goal is to use 100% of the visible viewport, erring on the side of <100% if there's any ambiguity. Note that we're still using outerHeight (not innerHeight) below, so there is room for more rigor here.

@sz3 sz3 mentioned this pull request Jan 21, 2024
@Headedbranch225
Copy link
Contributor

Is it live now or do i have to dl the html and run it?

@sz3
Copy link
Owner Author

sz3 commented Jan 22, 2024

Is it live now or do i have to dl the html and run it?

Not live yet, give it an hour...

@sz3 sz3 merged commit 97f4af3 into master Jan 22, 2024
8 checks passed
@sz3 sz3 deleted the build-and-css-bugfix-24-2 branch January 22, 2024 02:35
@sz3
Copy link
Owner Author

sz3 commented Jan 22, 2024

Ok, I put it "live" here: https://cimbar.org/beta/

(not on the root cimbar.org yet)

@sz3
Copy link
Owner Author

sz3 commented Jan 22, 2024

@Headedbranch225
Copy link
Contributor

Headedbranch225 commented Jan 22, 2024 via email

@sz3
Copy link
Owner Author

sz3 commented Jan 23, 2024

\o/

Great! Thanks for testing!

@sz3
Copy link
Owner Author

sz3 commented Jan 24, 2024

https://cimbar.org has now been updated with the new css/js.

@Headedbranch225
Copy link
Contributor

Headedbranch225 commented Jan 24, 2024 via email

sz3 added a commit that referenced this pull request Mar 13, 2024
368c2c4 Merge pull request #90 from sz3/bugfix-santitize-future
258991b Fix some longstanding (no)-fsanitize sloppiness
e77b598 Merge pull request #89 from sz3/bugfix-flood-decode-bounds-check
ead73ea fix memory corruption bug
0fe367f Fix the error check in FloodDecodePositions
97f4af3 Merge pull request #87 from sz3/build-and-css-bugfix-24-2
0f2d718 Tweak to make package-portable-linux slightly less docker dependent
d2ddcc2 Use innerWidth to avert android firefox shenanigans
8f9caa1 If negative z-index is bad vibes, we should set z-index+1 various places
38b8068 Update index.html
0119374 Merge pull request #85 from sz3/pin-cmake-portable-build
452eb71 Pin "portable" linux script to use an old (known good) cmake
05d5e38 Merge pull request #82 from sz3/ios-css-bugfix
69a7d41 Fix bug/change in ios (un)focus behavior?

git-subtree-dir: app/src/cpp/libcimbar
git-subtree-split: 368c2c4
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