Skip to content

Instantly share code, notes, and snippets.

@ReneeVandervelde
Created November 2, 2011 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ReneeVandervelde/1334598 to your computer and use it in GitHub Desktop.
Save ReneeVandervelde/1334598 to your computer and use it in GitHub Desktop.
// Copyright (c) 2011, Max Vandervelde
// Released under the MIT license
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script. To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "Calendar Text Fix", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name Calendar Text Fix
// @namespace http://diveintomark.org/projects/greasemonkey/
// @description Fixes the padding on the new google reader UI
// @include http://*.google.com/reader/*
// @include http://reader.google.com/*
// @include https://*.google.com/reader/*
// @include https://reader.google.com/*
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle(
'#entries.list .entry .collapsed {' +
' padding: 1px 0 ! important;' +
'}');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment