Allow for CSS Resizing of Moon Image

Created on 20 January 2015, over 9 years ago
Updated 8 March 2024, 7 months ago

Currently the moon phase overlaps are displayed using img overlaps where the image width and height determine how much of their respective moon-half is covered. The width and height are both set to hard value numbers (52px high, and somewhere between 26px and 0 wide).

If you move to using a percent for the image width instead - then that allows CSS to adjust the height without also having to fiddle with the width of the overlay. So for example, a full moon would be 100%, gibbous at 50% or so, and crescents at 25%. It's a small tweak but it would let the widget be used under more varied themes.

✨ Feature request
Status

Closed: outdated

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Bastlynn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024