- Apr 25, 2019
- 93
- 371
Solved: if you're having similar problems just read this response by stevejackhamst and follow along with the video they link. Very much worth it!
Im on day 2 of trying to fix this UI bug but i just cant seem to figure out how to fix it. First heres some pictures to show whats happening. CSS is definitely my weak suit so id appreciate some help.
Heres how the formatting looks on a regular scene without an embedded video:
And heres what the formatting changes to when there is an embedded video on the passage.
Google hasnt been much help and I honestly dont really even know where to begin to figure this out. Currently the margin-left for the passage is set to auto but even if i hard code in some value to make it look like the first image this still happens.
Im gonna attach a zip with the game's html (just make sure you read the authors note on the start page before you just hop right into it lol), the scss files im working with, as well as the resulting css files that my scss compiler is producing but ill also include them here in this post in a spoiler tag below in case you dont feel like downloading it. I just started with scss today so my scripts are probably a bit messy but its worth noting that this still wasnt working when i was just doing pure css yesterday.
Lastly these videos are being embedded by some javascript that just essentially injects
Im on day 2 of trying to fix this UI bug but i just cant seem to figure out how to fix it. First heres some pictures to show whats happening. CSS is definitely my weak suit so id appreciate some help.
Heres how the formatting looks on a regular scene without an embedded video:
And heres what the formatting changes to when there is an embedded video on the passage.
Google hasnt been much help and I honestly dont really even know where to begin to figure this out. Currently the margin-left for the passage is set to auto but even if i hard code in some value to make it look like the first image this still happens.
Im gonna attach a zip with the game's html (just make sure you read the authors note on the start page before you just hop right into it lol), the scss files im working with, as well as the resulting css files that my scss compiler is producing but ill also include them here in this post in a spoiler tag below in case you dont feel like downloading it. I just started with scss today so my scripts are probably a bit messy but its worth noting that this still wasnt working when i was just doing pure css yesterday.
Lastly these videos are being embedded by some javascript that just essentially injects
"<video src=\'" + video + "\' width='670' height='400' autoplay loop muted />"
into the passage where a video is needed. Ive messed around with the width settings here as well but that hasnt helped at all.You don't have permission to view the spoiler content.
Log in or register now.
You don't have permission to view the spoiler content.
Log in or register now.
You don't have permission to view the spoiler content.
Log in or register now.
Last edited: