Greasy Fork is available in English.

VNDB标签布局修正

中文化后会导致布局出现问题,修正浮动

// ==UserScript==
// @name         VNDB标签布局修正
// @namespace    http://tampermonkey.net/
// @version      1.0.0
// @description  中文化后会导致布局出现问题,修正浮动
// @author       aotmd
// @match        https://vndb.org/*
// @noframes
// @license MIT
// @grant        none
// ==/UserScript==

(function () {

    addStyle(`
    .tagtree > li:nth-child(7n+1) {
        /* height: 120px; */
        clear: left;
    }
    `);
    //添加css样式
    function addStyle(rules) {
        let styleElement = document.createElement('style');
        styleElement["type"] = 'text/css';
        document.getElementsByTagName('head')[0].appendChild(styleElement);
        styleElement.appendChild(document.createTextNode(rules));
    }
})();