Skip to content

Set a max-width of 300px on wiki's toc #692

Closed
wants to merge 3 commits into from

4 participants

@aperson
aperson commented Feb 20, 2013

The default allows the toc to get rather wide. Here I've set it to be as wide as the default subreddit sidebar.

@chromakode chromakode commented on an outdated diff Feb 20, 2013
r2/r2/public/static/css/wiki.less
@@ -120,6 +120,10 @@
}
// Wiki table of contents
+ .md.wiki > .toc {
+ max-width: 300px;
@chromakode
chromakode added a note Feb 20, 2013

Why not just move this into the .md.wiki > .toc > ul rule below?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@chromakode

💅 No need to re-create the pull request with updates -- just push onto the branch and the request will be updated :)

@andre-d
andre-d commented Jun 10, 2013

I think this was fixed and can be closed?

@chromakode

Still appears open to me. http://www.reddit.com/wiki/faq

@spladug
reddit member
spladug commented Jul 16, 2013

Merged as 6417f23. Thanks!

@spladug spladug closed this Jul 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.