Closed ShiMeiWo closed 2 months ago
@quinton-ashley
Understood. Then, I will adopt #1.
Thank you for your patience...
sorry I liked your post but forgot to respond! I want to try option 3 but will merge your PR for now. Thank you!
@quinton-ashley Okay, I will try #3
(display "the Ashleys image" as the element's background).
How about markup <img>
? Can I remove it? Otherwise, I will conceal it with {display: none;}
etc.
ref: https://github.com/quinton-ashley/p5play-web/pull/34#issuecomment-2063086625
In non-English language displays, the "Created by Quinton Ashley" section is overhanging the display area. Possible solutions to the problem are as follows:
1. To change
#md15
element into scrollable container:2. To add
{position: relative; height: auto}
style at the parent element ofimg{position: absolute; height: auto}
to fix the origin of coordinate and calculate imase position:es)
ja)
en)
3. To change the background photo to be represented by the container's
background
instead ofimg
:es)
ja)
en)
Conclusion
The easiest way is
#1
, but the drawback is that they have to scroll to see the full text. As a front-end developer, I'd love with#3
, but if it has to be an<img>
for accessibility reasons, then it's not a candidate.#2
requires more CSS modifications and calculations, but is a good balance between markup and look-and-feel.If without the aesthetic requirements, I would recommend
#1
. Please let me know what you think.Thanks!