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

Disable table hover in .content by default [Fixes #1295] #1707

Merged
merged 2 commits into from
Apr 8, 2018

Conversation

andrewsosa
Copy link
Contributor

This is a duplicate of PR #1296, which is a bugfix to #1295. Same commits, only now I've rebased @admench's changes as requested.

Proposed solution

Uses @admench's changes, which removes the table's hover background as the default background on hover. Again, fixes #1295.

Tradeoffs

The downside is needing to explicitly mark .content tables as .is-hoverable, but the previous behavior was undocumented and had no way to disable within the framework.

Testing Done

Used in a project I'm working on, hover effects went away.

Docs Update

It looks like the docs changed to uses JSON content files since this change was originally suggested, let me know if I've made a mistake in updating the docs.

Remove unnecessary $content-table-row-hover-background-color variable from sass file
@andrewsosa
Copy link
Contributor Author

Here's two GIFs comparing the changes:

Current version

current_version

Pull request version

pull_request_version

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

Successfully merging this pull request may close these issues.

Disable hover styling on tables within .content class by default
3 participants