Mercurial > ec-userscripts
annotate tweetdeck-column-fix.user.js @ 109:ef21ef445fc6
Cleanups
- wrap everything in function and call them last
- fix namespace and update url
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Jan 2023 23:33:41 +0900 |
parents | 2c4470b73ad9 |
children |
rev | line source |
---|---|
74 | 1 // ==UserScript== |
2 // @name Tweetdeck column fix | |
109 | 3 // @namespace https://nanaya.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 | 6 // @author nanaya |
7 // @match https://tweetdeck.twitter.com/* | |
8 // @grant GM_addStyle | |
109 | 9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/tweetdeck-column-fix.user.js |
74 | 10 // ==/UserScript== |
11 | |
109 | 12 'use strict'; |
13 | |
74 | 14 /* global GM_addStyle */ |
15 GM_addStyle(` | |
16 .app-columns { | |
17 display: flex; | |
18 } | |
19 .column { | |
20 top: 0; | |
21 flex: none; | |
22 } | |
86
2d9624e04134
Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents:
82
diff
changeset
|
23 .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
|
24 bottom: 0; |
2d9624e04134
Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents:
82
diff
changeset
|
25 background-color: #555; |
2d9624e04134
Fix bottom padding and scrollbar color
nanaya <me@nanaya.pro>
parents:
82
diff
changeset
|
26 } |
108 | 27 `); |