Last active
January 13, 2019 20:41
-
-
Save pdudits/ecef73e1711ac1d002b6b90d9d3a39ac to your computer and use it in GitHub Desktop.
horizontal twitter
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
// ==UserScript== | |
// @name Twitter in columns | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description What if we just used the horizontal space in timeline? (I didn't adapt other elements, you scroll past them anyway) | |
// @author Patrik dudits | |
// @match https://twitter.com/ | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
let style=` | |
#timeline { | |
width: 100%; | |
} | |
#page-container { | |
width: 90%; | |
} | |
body { | |
background-color: #f8ffff; | |
} | |
#timeline .stream-item[data-item-type="tweet"] { | |
display: inline-block; | |
width: 32.5%; | |
vertical-align: top; | |
margin-left: 0.55%; | |
margin-bottom: 0.6em; | |
background: transparent; | |
border-top: 3px solid #116; | |
}`; | |
let styleEl = document.createElement('style'); | |
styleEl.textContent = style; | |
document.head.appendChild(styleEl); | |
})(); |
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
#timeline { | |
width: 100%; | |
} | |
#page-container { | |
width: 90%; | |
} | |
body { | |
background-color: #f8ffff; | |
} | |
#timeline .stream-item[data-item-type="tweet"] { | |
display: inline-block; | |
width: 32.5%; | |
vertical-align: top; | |
margin-left: 0.55%; | |
margin-bottom: 0.6em; | |
background: transparent; | |
border-top: 3px solid #116; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment