Skip to content

[Feature]如何减少代码的 line-height? #128

Closed

Description

@hcoona

代码的间距拉得太大的,希望默认能够调整 pre>code 的 line-height 为 1.2,应该怎么做呢?

Activity

  1. iissnan commented on Apr 27, 2015

    @iissnan
    Owner

    source/css/_custom/custom.styl 添加:

    .post pre, .post .highlight { line-height: 1.2 }
  2. hcoona commented on Apr 27, 2015

    @hcoona
    Author

    修改 source/css/_vendor/highlight/highlight.styl 中的 line-height: $line-height-base 是否更好些,毕竟很少有要求代码的 line-height 和正文的 line-height 一样的情况。

  3. reopened this on Apr 27, 2015
  4. iissnan commented on Apr 29, 2015

    @iissnan
    Owner

    👌

  5. changed the title [-][Question]如何减少代码的 line-height?[/-] [+][Feature]如何减少代码的 line-height?[/+] on Apr 29, 2015
  6. hcoona commented on Apr 29, 2015

    @hcoona
    Author

    好吧,我觉得这是个 feature,希望你能考虑一下,在代码中做出相应修改,谢谢!

  7. iissnan commented on May 7, 2015

    @iissnan
    Owner

    Done.

  8. added this to the milestone on May 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions