annotate tweetdeck-column-fix.user.js @ 74:78598a92e6fc

Add tweetdeck column fixer
author nanaya <me@nanaya.pro>
date Tue, 07 Jul 2020 01:56:37 +0900
parents
children 5a3a269c5e6f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
1 // ==UserScript==
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
2 // @name Tweetdeck column fix
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
3 // @namespace https://myconan.net
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
4 // @version 1.0.0
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
5 // @description No weird column alignment
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
6 // @author nanaya
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
7 // @match https://tweetdeck.twitter.com/*
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
8 // @grant GM_addStyle
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
9 // @downloadURL https://hg.sr.ht/~nanaya/ec-userscripts/raw/default/tweetdeck-column-fix.user.js
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
10 // ==/UserScript==
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
11
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
12 /* global GM_addStyle */
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
13 GM_addStyle(`
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
14 .app-columns {
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
15 display: flex;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
16 }
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
17 .column {
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
18 top: 0;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
19 flex: none;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
20 }
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
21 `)