X(Twitter) - 為使用者新增備註(別名/標籤)

為使用者新增備註(別名/標籤)功能,以幫助識別和搜尋,並支援 WebDAV 同步功能

< 腳本X(Twitter) - 為使用者新增備註(別名/標籤)的回應

評論:正評 - 腳本一切正常

§
發表於:2024-07-21

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;
  }

發表回覆

登入以回復