Greasy Fork is available in English.

X(Twitter) - Add notes to the user

Add notes (aliases/tags) for users to help identify and search, and support WebDAV sync

< Feedback on X(Twitter) - Add notes to the user

Review: Good - script works

§
Posted: 21.07.2024

There is a slight CSS issue with other scripts and extensions. If a script or extension were to add a button to the right of the "Edit Content" button at the bottom of a single tweet, the hover circle for this script's button would not be properly aligned. I will provide an example of CSS that fixes it. Also, there is a bit of overlap with two backgrounds on said button, which will also be addressed.

这是机器翻译的,抱歉。
与其他脚本和扩展有一点 CSS 问题。如果脚本或扩展要在单条推文底部的 "编辑内容 "按钮右侧添加一个按钮,那么该脚本按钮的悬停圆圈将无法正确对齐。我将提供一个可以解决这个问题的 CSS 示例。此外,上述按钮上的两个背景会有一些重叠,这也将得到解决。


  .note-obj-twitter-note-btn:hover {
      background-image: url();
-     background-color: rgba(29, 161, 242, .1);
+     /* background-color: rgba(29, 161, 242, .1); */
  }
  .note-obj-twitter-comment-tool-bar-btn:hover::after {
      content: "";
-     position: absolute;
+     position: relative;
+     display: block;
      background-color: rgba(29, 161, 242, .1);
      width: 38px;
      height: 38px;
      top: -7px;
      right: 7px;
      border-radius: 99px;
  }

Post reply

Sign in to post a reply.