element.io-width

Removes all of the dead space in element.io.

目前为 2021-08-05 提交的版本。查看 最新版本

// ==UserScript==
// @name         element.io-width
// @version      0.8
// @description  Removes all of the dead space in element.io.
// @match        http://app.element.io/*
// @match        https://app.element.io/*
// @match        http://*.app.element.io/*
// @match        https://*.app.element.io/*
// @namespace    https://gf.qytechs.cn/users/217495-eric-toombs
// @run-at       document-idle
// ==/UserScript==

style_tag = document.createElement('style');
style_tag.innerHTML = `
  .mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_msgOption {
    width: 16px;
  }
  .mx_RoomView_MessageList {
    padding: 0px;
  }
  .mx_EventTile_content {
    margin-right: 0px;
  }
  .mx_RoomView_timeline_rr_enabled .mx_EventTile:not([data-layout="bubble"]) .mx_EventTile_line {
    margin-right: 0px;
  }
`;
document.getElementsByTagName('head')[0].append(style_tag);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址