annotate tweetdeck-column-fix.user.js @ 96:368035f2213b

Use builtin framework for document ready
author nanaya <me@nanaya.net>
date Fri, 23 Dec 2022 19:14:04 +0900
parents 2d9624e04134
children 2c4470b73ad9
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
86
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
4 // @version 1.1.0
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
5 // @description No weird column alignment and color for scrollbar
74
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
82
86da34e62d29 Update url
nanaya <me@nanaya.pro>
parents: 77
diff changeset
9 // @downloadURL https://hg.myconan.net/ec-userscripts/raw-file/tip/tweetdeck-column-fix.user.js
74
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 }
86
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
21 .app-columns-container.app-columns-container.app-columns-container.app-columns-container {
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
22 bottom: 0;
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
23 background-color: #555;
2d9624e04134 Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents: 82
diff changeset
24 }
74
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
25 `)