Created
November 2, 2011 19:17
-
-
Save ReneeVandervelde/1334598 to your computer and use it in GitHub Desktop.
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
// 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