view tweetdeck-column-fix.user.js @ 98:3e5f1fa9ed52

Skip redundant class check and add dataset check instead
author nanaya <me@nanaya.net>
date Fri, 23 Dec 2022 19:58:14 +0900
parents 2d9624e04134
children 2c4470b73ad9
line wrap: on
line source

// ==UserScript==
// @name         Tweetdeck column fix
// @namespace    https://myconan.net
// @version      1.1.0
// @description  No weird column alignment and color for scrollbar
// @author       nanaya
// @match        https://tweetdeck.twitter.com/*
// @grant        GM_addStyle
// @downloadURL  https://hg.myconan.net/ec-userscripts/raw-file/tip/tweetdeck-column-fix.user.js
// ==/UserScript==

/* global GM_addStyle */
GM_addStyle(`
  .app-columns {
    display: flex;
  }
  .column {
    top: 0;
    flex: none;
  }
  .app-columns-container.app-columns-container.app-columns-container.app-columns-container {
    bottom: 0;
    background-color: #555;
  }
`)