You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prose content in the CP inherits tabular figures #15658
That makes sense for dates, listings, tables and similar UI, where numbers should line up. It’s arguably fine for things like <code>11</code> in the “Updates” release notes as well.
But nothing switches back to proportional figures for prose further down, so every text inherits them. That includes the content editors write in Bard, Markdown and Textarea fields, as well as field instructions and descriptions. In running text, narrow digits like 1 take up the width of a 0. Numbers look loosely spaced and uneven.
Text, Bard and Markdown fields handle it a little better. They show the font’s dedicated tabular glyphs, e.g. the 1 with a horizontal foot, which fills the cell and evens out the spacing. Still, tabular figures are the wrong choice for prose.
Textarea fields (and instructions) show it most clearly: the plain 1 sits in a cell as wide as a 0, so 11 (eleven) reads almost like 1 and 1.
Here’s the same text with proportional figures for comparison.
Filenames in the Asset Browser already use proportional figures.
And the tabular figures in listings are correct, too.
How to reproduce
Add a few fields to a blueprint: Text, Textarea, Bard, Markdown.
Give them instructions that contain numbers. Narrow digits like 1 show it best, e.g. “Maximum 11 items, 111 characters”.
Open an entry and type the same numbers into each field.
Notice the wide, uneven spacing of the digits in the textarea and instructions, and the tabular glyphs in the other fields.
Logs
Environment
EnvironmentLaravel Version: 12.69.3PHP Version: 8.4.23Composer Version: 2.10.2Environment: localDebug Mode: ENABLEDMaintenance Mode: OFFTimezone: UTCLocale: de_CHCacheConfig: NOT CACHEDEvents: NOT CACHEDRoutes: NOT CACHEDViews: CACHEDDriversBroadcasting: logCache: fileDatabase: sqliteLogs: stack / singleMail: logQueue: backgroundSession: fileStoragepublic/storage: NOT LINKEDStatamicAddons: 4License Key: Not setSites: 1Stache Watcher: Enabled (auto)Static Caching: DisabledVersion: 6.35.1 PROStatamic Addonsdaun/statamic-original-filename: 1.1.1mitydigital/statamic-llms-txt: 1.1.1statamic/seo-pro: 7.15.1swiftmade/statamic-clear-assets: 3.4.0
Activity