Page MenuHomePhabricator

Fix ZCode component styles so that they adapt to a different context than the Implementation page.
Open, LowPublicBUG REPORT

Description

Description

The ZCode component was always used in the context of a ZImplementation page:

Screenshot from 2024-03-05 13-47-32.png (514×756 px, 19 KB)

So it transforms using CSS properties the labels "language" and "code" to look like section titles.
However, as part of our type converters work, we are also using ZCode in serializers and deserializers:

Screenshot from 2024-03-05 13-49-37.png (624×620 px, 38 KB)

This looks odd, so we probably want to show the ZCode component look like root-level sections only for the ZImplementation page, but like normal default component key values when the ZCode component appears in other places.

See https://www.wikifunctions.org/view/en/Z13519 or https://www.wikifunctions.org/view/en/Z13520


Devices and Design (URLs or screenshots, if applicable):


Completion checklist