News for hackers. Stuff that matters.
Re:Ask HN: An article using The Little Schemer format, what ... by chuckadams on Saturday August 10, 2024 @06:45PM (#41212786)
The individual “Show Answer” buttons are doing nothing on mobile Safari, though the top toggle button does work. Those fixed top buttons are also eating up a lot of space on a phone.

Otherwise, looks quite nice!

Re:Ask HN: An article using The Little Schemer format, what ... by phfrohring on Sunday August 11, 2024 @02:48AM (#41214411)
> Those fixed top buttons are also eating up a lot of space on a phone.

It should be fixed now.

Re:Ask HN: An article using The Little Schemer format, what ... by phfrohring on Sunday August 11, 2024 @03:27AM (#41214528)
> The individual “Show Answer” buttons are doing nothing on mobile Safari.

It should be fixed.

            :host(.hidden), :host(.hidden) * {
                /*
                 * display: none; does not work because of a bug.
                 * bug: https://bugs.webkit.org/show_bug.cgi?id=188259
                 */
                visibility: hidden;
                width: 0;
                height: 0;
            }