How do I change phpmyadmin font size for sql query box?

戏子无情 提交于 2019-12-25 04:17:25

问题


I'm using phpmyadmin 5.5.42

If i click on the SQL tab, or if i click on a database > table name and look at the SQL query it is written in a courier-like font at a far smaller size than the surrounding text. Similarly if I click edit inline, the font size is very small.

I'm trying to make a course using screenshots etc, so making the SQL query as large as possible is really important. I know how to make the font as a whole bigger, either through my browser or in phpmyadmin, but that doesn't help as the problem is the relative size of the SQL text and the surrounding text.

I've found this: Increase font size of SQL query box

I don't have a theme_right.css.php in my phpmyadmin > themes > originals > css folder. The likeliest candidate is common.css.php but changing stuff here has had no effect at all. There is also printview.css and navigation.css.php which i haven't tried but don't seem likely.

My text editor suggests my page is actually using phpmyadmin > phpmyadmin.css.php but this has no CSS in it, just a load of php pulling in other files and presumably talking to the database.

Does anyone know how to modify the appearance of SQL query in the Browse and SQL tabs in phpmyadmin 5.5.42?

Thanks Emma


回答1:


Try add font-size for

.CodeMirror pre
.CodeMirror textarea

directly in phpmyadmin.css.php, after "?>"




回答2:


On the left pane of phpMyAdmin, click the tiny 'Home' icon provided at the top. Then increase the percentage of font size in 'Appearance Settings' section.



来源:https://stackoverflow.com/questions/39080908/how-do-i-change-phpmyadmin-font-size-for-sql-query-box

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!