Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于手机端代码显示不全的bug #15

Closed
ourfor opened this issue Feb 23, 2018 · 1 comment
Closed

关于手机端代码显示不全的bug #15

ourfor opened this issue Feb 23, 2018 · 1 comment
Labels

Comments

@ourfor
Copy link
Contributor

ourfor commented Feb 23, 2018

关于手机端代码显示不全的问题

例如下图中的现象:

sudo dd if=/Users/zip/Desktop/lede-17.01.4-brcm2708-bcm2710-rpi-3-ext4-sdcard.img of=/dev/disk4 bs=1m

上图中代码末端缺失了m

作者提供的解决办法:
用文本编辑器打开博客根目录中的/themes/mellow/source/css/_partial/highlight.less,找到这一行:

    .highlight {
        .codeBlock();

        pre {
            margin: 0;
            padding: 0;
        }

改成:

    .highlight {
        .codeBlock();

        pre {
            margin: 0;
            padding-top: 0;
            padding-bottom: 0;
            padding-left: 0;

        }
@ourfor ourfor changed the title 关于手机端代码显示不全的问题 关于手机端代码显示不全的bug Feb 23, 2018
@codefine codefine added the bug label Feb 23, 2018
@codefine
Copy link
Owner

下个版本更新修改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants