Increase code font size in firefox developer tool

前端 未结 11 1915
别跟我提以往
别跟我提以往 2021-01-30 03:07

How to increase code fonts in Firefox developer tools? I know that there is a zoom function but I want to set the font size only for the code.

11条回答
  •  花落未央
    2021-01-30 03:29

    You need to modify userChrome.css under ~/.mozilla/firefox/[profile-name]/chrome with this:

    /*  Styles for Web developer tools */
    @namespace url(http://www.w3.org/1999/xhtml);
    .CodeMirror {
        font-family:    "Ubuntu Mono", monospace !important;
        font-size:      15pt !important;
    }
    

    The result looks like this:

    firefox

    This only changes the debugger and style editor. There's a different selector for the html inspector. Not sure what that is yet.

提交回复
热议问题