Template talk:Nowrap
Please help update this template
[编辑] 请求
I added nowrap in template
<span style="white-space:nowrap;">{{{1}}}</span>
to
<span class="nowrap">{{{1}}}</span>
and it seems working.
Thanks for the help. Winston(
- white-space: nowrap is a legitimate CSS declaration, I see no point taking it off. So I simply added the class attribute and that should work for you if the inline CSS did not. Bluedeck 2017
年 4月 26日 (三 ) 17:56 (UTC)
- @Bluedeck: The template is still not working as expected. Please feel free to check my Sandbox. In the sandbox I use nowrap template and <span class="nowrap"> for side-by-side comparison. Winston(
留 言 ) 2017年 4月 27日 (四 ) 00:36 (UTC)
- Here's a screenshot. I am suspecting this to be a browser-specific issue. Which browser do you use? Have you tried loading the page in some other browsers? Thank you. Bluedeck 2017
年 4月 27日 (四 ) 00:54 (UTC) I checked out your sandbox, the two templates look identical to me.
- Here's a screenshot. I am suspecting this to be a browser-specific issue. Which browser do you use? Have you tried loading the page in some other browsers? Thank you. Bluedeck 2017
- Feel free to use this --> User:Bluedeck/etc/sandbox/box1493254638632 for testing purposes. Inline CSS or class selector, either worked for me on Windows and Mac, with Chrome, Firefox and Safari. Bluedeck 2017
年 4月 27日 (四 ) 01:01 (UTC)
- Feel free to use this --> User:Bluedeck/etc/sandbox/box1493254638632 for testing purposes. Inline CSS or class selector, either worked for me on Windows and Mac, with Chrome, Firefox and Safari. Bluedeck 2017
- @Bluedeck: That was weird. I use Safari, Chrome and Firefox which gives me the same result. I can share you my screenshot. Please try going to my sandbox, changing the width of your browser (different browsers) and see. Winston(
留 言 ) 2017年 4月 27日 (四 ) 01:50 (UTC)
- @Bluedeck: That was weird. I use Safari, Chrome and Firefox which gives me the same result. I can share you my screenshot. Please try going to my sandbox, changing the width of your browser (different browsers) and see. Winston(
- Bluedeck 2017
年 4月 27日 (四 ) 04:10 (UTC) Upon further inspection I'm not so sure what is going on here. For one I can reproduce the problem now (I couldn't before because I did not test it against a wider range of window widths). But then, using developer tools I found that there is no difference between the selector statement, which you suggest that we use, and the inline statement, which is what we're currently using. Both seem to do the same thing but the difference is definitly measurable, so there's a real issue here. I still cannot approve the exact changes that you requested, since the CSS selector is dependent on the skins that the users use. But I'll definitely go after whatever is going on here and hopefully come up with a fix.
- Bluedeck 2017
- Bluedeck 2017
年 4月 27日 (四 ) 06:43 (UTC) It turned out I had a typo in the class name, now that it's fixed, please clear the server cache of your sandbox and then you should be able to see it's working. You can clear the cache by clicking the edit tab of your sandbox, then save the page without actually doing any edits. Works for me. Please keep coming to me if you still have any questions. Thanks.
- Bluedeck 2017
- @Bluedeck: Seems it works. Thanks. Winston(
留 言 ) 2017年 4月 27日 (四 ) 06:53 (UTC)
- @Bluedeck: Seems it works. Thanks. Winston(
编辑请求
[编辑] 请求
按照
<includeonly> <span class="nowrap" style="white-space:nowrap;">{{{1}}}</span> </includeonly><noinclude>{{Documentation}}</noinclude>
我 不明 白 為 什麼 是 這樣修 改 ,以及原本 使用 此模板 的 頁 面 就沒有 此錯誤 了 ,另外他 說 的 模 板 應 該是Template:nowrap begin而不是 此模板 。--Xiplus#Talk 2018年 4月 18日 (三 ) 00:35 (UTC)是 的 ,我 也刚发现不 是正 确的模 板 。已 回 退 。--Kuailong™ 2018年 4月 18日 (三 ) 00:36 (UTC)那 能否 把 Template:nowrap begin修 改 成
<includeonly> <span class="nowrap"> </includeonly><noinclude>{{Documentation}}</noinclude>
——꧁༺
未 完成 ,關 閉此請求 ,移 至 Template_talk:Nowrap_begin討論 。--Xiplus#Talk 2018年 4月 22日 (日) 07:29 (UTC)
简化代 码的编辑请求
[编辑] 请求
现在 common.css white-space:nowrap