FixSpacing2

Fix ugly new CAI spacing in a better way

// ==UserScript==
// @name         FixSpacing2
// @namespace    CSS userscript
// @license MIT
// @version      0.1
// @description  Fix ugly new CAI spacing in a better way
// @author       good anon
// @match        https://beta.character.ai/*
// @grant        none
// ==/UserScript==

(function () {
  let css = `
    .markdown-wrapper  p  {  display:inline-block;  margin-block-end:0.5em;  }
    .markdown-wrapper  p br {  display:block;  content:" "!important;  margin:-1em;  }
   `;

  var head = document.getElementsByTagName("head")[0];
  var style = document.createElement("style");
  style.setAttribute("type", 'text/css');
  style.innerHTML = css;
  head.appendChild(style);
})();

QingJ © 2025

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