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

A suggestion for readability #29

Closed
orloxx opened this issue Jul 29, 2013 · 4 comments
Closed

A suggestion for readability #29

orloxx opened this issue Jul 29, 2013 · 4 comments

Comments

@orloxx
Copy link

orloxx commented Jul 29, 2013

In my desktop version I added this line of code at the beginning of the file because for readability purposes I like the line-height to be more separated:

/*--READABILITY--*/
#-webkit-web-inspector .outline-disclosure ol li,
#-webkit-web-inspector .text-editor .inner-container .webkit-line-content,
#-webkit-web-inspector .text-editor-lines .inner-container .webkit-line-number,
#-webkit-web-inspector #console-view .console-message {
    line-height: 16px;
}

Sorry if there's another way of doing this that I don't know about.

@mauricecruz
Copy link
Owner

Thanks for the suggestion. Mind pasting a before/after screenshot so that I get an idea of how it looks/what it affects?

@orloxx
Copy link
Author

orloxx commented Jul 29, 2013

Of course. It just affects the line-height of the inspector, the source tag and the script console.

Here is the before:
01
02

And here is the after:
03
04

I used 18px instead of 16px. I know it's a mild detail. But I like that small separation. It helps me to read better.

Btw, very great job on this theme :)

@mauricecruz
Copy link
Owner

Thanks for the info. I'm going to include it an a configurable setting at the top of the stylesheet so I'll leave the default spacing (14px).

Also added an adjustment for the elements expand/collapse arrow since it doesn't shift with the line height.

@mauricecruz
Copy link
Owner

image

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

No branches or pull requests

2 participants