Last active
November 27, 2015 15:11
-
-
Save StephenRadachy/f419814e6e938462e403 to your computer and use it in GitHub Desktop.
Firefox 31 New Tab Page Fix
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
@-moz-document url(about:newtab) | |
{ | |
/* Fix cell sizing. Note: you may need to play around with the values for different numbers of rows and columns */ | |
/* Currently it works for 3 rows x 4 columns */ | |
.newtab-cell { width: 19% !important; height: 25% !important; } | |
/* Fix grid sizing */ | |
#newtab-grid { max-height: 100vh !important; max-width: none !important; overflow: hidden !important; margin: 50%; } | |
/* Hide unnecessary elements */ | |
#newtab-search-container, #newtab-search-logo, #newtab-margin-top, #newtab-margin-bottom, #newtab-intro-what, .newtab-side-margin, #newtab-customize-button, .newtab-undo-container { display:none !important; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment