Skip to content

fix: restore monospace font size to 14px in bootstrap theme Fix #19489#20321

Open
MKabaja wants to merge 1 commit into
phpmyadmin:masterfrom
MKabaja:fix/code-font-size-regression
Open

fix: restore monospace font size to 14px in bootstrap theme Fix #19489#20321
MKabaja wants to merge 1 commit into
phpmyadmin:masterfrom
MKabaja:fix/code-font-size-regression

Conversation

@MKabaja

@MKabaja MKabaja commented May 27, 2026

Copy link
Copy Markdown

Fixes #19489

Problem

After migrating to phpMyAdmin 6.0, the monospace/code font size was reduced from the 5.2 default (~14px) to a smaller value (~12px).

Fix

Added CSS custom property --font-size-monospace: 14px in _codemirror.scss and applied it to CodeMirror and code elements.

Testing

Verified in phpMyAdmin 6.0 with bootstrap theme - font size is now 14px matching 5.2 behavior.
Zrzut ekranu 2026-05-27 214208
Zrzut ekranu 2026-05-27 214311

Fixes phpmyadmin#19489 - font size regression from 5.2 (~14px) to 6.0 (~12px).
Added CSS custom property --font-size-monospace and applied it to
CodeMirror and code elements.

Signed-off-by: Mateusz <mateusz.kabaja@gmail.com>
@MKabaja MKabaja force-pushed the fix/code-font-size-regression branch from 99966e4 to 009ea5c Compare May 27, 2026 19:49
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.

6.0 - The code font size is smaller compared to 5.2

2 participants