Skip to content

fix(spatial): put the transcripts' Colour by toggle beside its label - #118

Merged
belkassaby merged 3 commits into
mainfrom
fix/colour-by-toggle-align
Nov 23, 2026
Merged

belkassaby merged 3 commits into
mainfrom
fix/colour-by-toggle-align

Conversation

@belkassaby

Copy link
Copy Markdown
Collaborator

In the spatial omics dialog's Transcripts section, the "Colour by" row (Cluster | Cell type | Gene) used the shared half-width label column that lines the sliders up at the dialog's middle. The toggle started at the middle, so its three buttons ran past the right edge and were cropped.

The row now gets sc-colour-by: the label takes only its own width, and the toggle follows it with its buttons on one line. These are the same rules the observations' "Show as" row already uses (.sc-show-as).

Not rendered in the example: none of the dev tile server's demo datasets has transcripts. The transcripts panel's tests and format:check pass, and the build succeeds.

The row used the shared half-width label column meant for sliders, so the
toggle started at the dialog's middle and "Cluster | Cell type | Gene" ran
past the right edge and was cropped. The toggle now follows the label,
its buttons on one line, as the observations' "Show as" row does.
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

ProvenFlow review (changes since 28eab1651ace)

✓ No finding on the changed lines.

Checked: 329 files, 102 models, 234 properties (explicit-state); tools: Semgrep; 0 code proof(s).

At 71814da: 0 new, 0 already reported, 0 no longer reported since the last review.

@belkassaby
belkassaby merged commit d6d8c78 into main Nov 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant