MediaWiki talk:Gadget-ding.js

最新留言:Xiplus在1年前发布在话题編輯請求 2022-09-02

This covers up important buttons

@WhitePhosphorus This gadget hides some important links at the top of the page, for example "Login". The gadget should be fixed so that the important links are still visible. Thanks. ESanders (WMF)留言2020年4月26日 (日) 10:55 (UTC)回复

One option would be to move the notification to the bottom of the page (bottom: 0;) then add some extra bottom margin to .footer so that the footer is not cut off. ESanders (WMF)留言2020年4月26日 (日) 17:52 (UTC)回复

編輯請求 2022-09-02

  请求已处理--Xiplus#Talk 2023年2月9日 (四) 07:36 (UTC)回复

@@ -18,7 +18,7 @@
         if (persist === void 0) { persist = false; }
         if (!document.getElementById("bluedeck_ding")) {
             document.body.insertAdjacentHTML("afterbegin", "<style>#bluedeck_ding button{margin: 0 0.2em; background:transparent; border:0.2em solid white; border-radius: 9em; padding: 0 0.7em; box-sizing: border-box; color: inherit; font-weight: inherit;}#bluedeck_ding button:active{background:rgba(255,255,255,0.6)}</style>");
-            document.body.insertAdjacentHTML("afterbegin", "<div id='bluedeck_ding'></div>");
+            document.body.insertAdjacentHTML("afterbegin", "<div id='bluedeck_ding' class='noprint'></div>");
         }
         if (!document.getElementById("bluedeck_ding_history")) {
             document.body.insertAdjacentHTML("afterbegin", "<div id='bluedeck_ding_history'></div>");

主要是避免这个东西输出到打印版本中,但考虑到好像用ding的地方都没什么需要打印的必要所以直接改这边了。#bluedeck_ding_history似乎没有使用因此没碰。-- Stang 2022年9月2日 (五) 08:49 (UTC)回复

返回到“Gadget-ding.js”页面。