Created
November 30, 2016 14:40
-
-
Save glombek/9f2cb45f7aa7f0f695abf991c52c57a6 to your computer and use it in GitHub Desktop.
Firefox doesn't like printing pages with flex elements. This script hunts down all elements that are `display: flex`.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.grep($(':visible'), function(x) { return getComputedStyle(x).getPropertyValue('display') == 'flex' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment