Skip to content

Instantly share code, notes, and snippets.

@StephenRadachy
Last active November 27, 2015 15:11
Show Gist options
  • Save StephenRadachy/f419814e6e938462e403 to your computer and use it in GitHub Desktop.
Save StephenRadachy/f419814e6e938462e403 to your computer and use it in GitHub Desktop.
Firefox 31 New Tab Page Fix
@-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