Tall Tiles in Ollie

Stretches all tiles on a flow perspective to the full page height.

目前为 2020-08-12 提交的版本。查看 最新版本

// ==UserScript==
// @name         Tall Tiles in Ollie
// @namespace    http://prantlf.tk/
// @version      0.4
// @description  Stretches all tiles on a flow perspective to the full page height.
// @author       [email protected]
// @match        *://intranet.opentext.com/intranet/*/app
// @grant        none
// ==/UserScript==

(function () {
  'use strict'

  function addStyle (content) {
    const element = document.createElement('style')
    element.type = 'text/css'
    element.innerHTML = content
    element.setAttribute('data-csui-theme-overrides', 'true')
    document.head.appendChild(element)
  }

  addStyle(`
  .binf-widgets:not(.csui-mobile) .cs-flow-perspective.grid-rows > .binf-row > .binf-col-xs-12:not(.row-xs-full) {
    height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
  }
  .binf-widgets .cs-perspective-with-breadcrumb-view {
    padding: 0 15px;
  }
`)
}());

QingJ © 2025

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