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

Use pre instead of inline code for listener snippets. Fixes #1781 #1786

Merged
merged 1 commit into from
Feb 27, 2017

Conversation

ebidel
Copy link
Contributor

@ebidel ebidel commented Feb 27, 2017

R: @patrickhulce @paulirish

Fixes #1781. Also put a restriction on the max-height for table cell pre tags. Without it, the cell could get hhuuuuuuge.

screen shot 2017-02-27 at 12 38 38 pm

@@ -44,6 +44,9 @@
.table_list .table-column.table-column-pre, .table_list .table-column.table-column-code {
text-align: left;
}
.table_list .table-column.table-column-pre pre {
max-height: 150px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sg. do you want to do overflow:auto as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already does both ways :)

@ebidel ebidel merged commit 4653483 into master Feb 27, 2017
@ebidel ebidel deleted the 1781 branch February 27, 2017 21:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants