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
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
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
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
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
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
9 // @downloadURL https://hg.nanaya.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
109
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
12 'use strict';
ef21ef445fc6 Cleanups
nanaya <me@nanaya.net>
parents: 108
diff changeset
13
74
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
14 /* global GM_addStyle */
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
15 GM_addStyle(`
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
16 .app-columns {
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
17 display: flex;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
18 }
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
19 .column {
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
20 top: 0;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
21 flex: none;
78598a92e6fc Add tweetdeck column fixer
nanaya <me@nanaya.pro>
parents:
diff changeset
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
2c4470b73ad9 Switch to semistandard
nanaya <me@nanaya.net>
parents: 86
diff changeset
27 `);