DiamondLightSource / DiamondLightSource/sci-react-ui

Json Form renders are uppercasing titles.

Aperta Adatta ai principianti
#283 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
needs-triage
Lingua principale
TypeScript
Stelle
8
Fork
3
Merge medio
3g 15h
PR unite (30g)
5

Descrizione

# Bug Report

## Summary

Json Form renders are uppercasing titles. It likely shouldn't be doing it by default. It's particularly bad when a measurement unit is provided, e.g. millimetres (mm) becomes MM.

## Expected behaviour

Don't uppercase

## Actual behaviour

They uppercase.

## Steps to reproduce

1. Use json renderers

## Screenshots or visual evidence (if applicable)

Image

## Environment

## Additional context

That happens through a CSS directive. `text-transform: capitalize;` - you can overright these with css, but its normal behaviour should be do-nothing.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the Json Form renderer styles and the CSS rule applying text-transform: capitalize. Verify the change with a renderer using a measurement unit such as millimetres (mm); done means titles preserve their original casing by default.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
css, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
72/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.