Skip to content

Instantly share code, notes, and snippets.

@mreidsma
Created August 29, 2013 14:34
Show Gist options
  • Select an option

  • Save mreidsma/6378904 to your computer and use it in GitHub Desktop.

Select an option

Save mreidsma/6378904 to your computer and use it in GitHub Desktop.
All of a sudden, we're having issues with the saved articles bar in Summon scrolling with the page instead of staying fixed on the bottom of the user's screen in Chrome. This is because the element now has inline styling that declares "position:absolute" rather than "Position:fixed" as it should be (and is in the stylesheet). This snippet will p…
if($("#dock-container").length > 0) {
$("body").append('<style>#dock-container{position:fixed !important;}</style>');
}

Example of Summon Wonkiness

This is what the absolute positioning looks like. Yuck.

@mreidsma
Copy link
Copy Markdown
Author

For tips on how to add a script to Summon 1.0: https://github.com/mreidsma/Summon-Stats#adding-the-script-to-summon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment