Skip to content

Instantly share code, notes, and snippets.

@SebastianGrans
Created October 31, 2017 01:25
Show Gist options
  • Save SebastianGrans/0d0b305ceeffedcfd0be4834b6cb5916 to your computer and use it in GitHub Desktop.
Save SebastianGrans/0d0b305ceeffedcfd0be4834b6cb5916 to your computer and use it in GitHub Desktop.
Minimum width on Reddit
#
# I sometimes browse reddit with my browser split to half of the screen.
# By default, the side bar (submit new link, submit a new text post, etc.) covers
# half the page. I remedied this by injecting my own CSS with the following extension.
# https://safari-extensions.apple.com/details/?id=com.sobolev.stylish-5555L95H45
#
# Below is the exported style in JSON.
# Copy it to a file, save it as file.json, import in stylish. Should be good to go!
{
"data": [
{
"id": "1509412392767",
"json": {
"enabled": true,
"name": "Reddit min width",
"url": "",
"updateUrl": "",
"sections": [
{
"code": "body {\n\tmin-width: 1000px;\n}\n\n.submit-link {\n\tposition: inherit;\n}",
"domains": [
"reddit.com"
],
"regexps": [],
"urlPrefixes": [],
"urls": [
""
]
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment