Template talk:Sidebar person/UK Prime Minister
(Redirected from Template talk:Sidebar/UK Prime Minister/sandbox)
Latest comment: 6 years ago by Primefac in topic Forced clear
Forced clear
editThis help request has been answered. If you need more help, you can , contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse. |
The sidebar-in-question is {{Margaret Thatcher sidebar}}
at the Margaret Thatcher article, in which the template appears to force a clean break between the sidebar and text, thus prohibiting the text from flowing. I am not quite sure how to fix this. Please help, thanks.--Nevé–selbert 09:26, 16 December 2017 (UTC)
- Neve-selbert, I don't think I see what you're talking about; on the article I see the sidebar as it would appear on any other page. Could you post a screenshot maybe? Primefac (talk) 15:06, 16 December 2017 (UTC)
- @Primefac: See here.--Nevé–selbert 15:10, 16 December 2017 (UTC)
- There's something odd going on in your browser. With Firefox (and Chrome and IE) it looks like this. -- Michael Bednarek (talk) 15:20, 16 December 2017 (UTC)
- Hmmm, yes, it would seem to be a client-side issue; there's nothing in the sidebar code or the page code that would make a {{clear}} appear where it does in your image. I'll be honest, it's odd, but I can't seem to find anything that was recently changed to explain it. Have you tried purging the cache on that page, and see if it goes away? Primefac (talk) 15:26, 16 December 2017 (UTC)
- @Primefac and Michael Bednarek: Tried purging the cache, doesn't make any difference. I must say that the sidebar appeared fine only a couple of days ago.--Nevé–selbert 02:49, 17 December 2017 (UTC)
- What does it look like when you use a different browser or a different device? -- Michael Bednarek (talk) 02:55, 17 December 2017 (UTC)
- The sidebar floats normally in Chrome and iOS, just not with IE or Edge for some reason.--Nevé–selbert 03:14, 17 December 2017 (UTC)
- I've been going down the rabbit hole of "things this template might have transcluded that have changed" but I'm not seeing any templates or modules that have been modified in the last month (let alone the last year). Primefac (talk) 03:01, 17 December 2017 (UTC)
- Might there be a way to force the sidebar to float alongside the text? Just an idea.--Nevé–selbert 03:14, 17 December 2017 (UTC)
- That would require a change to {{sidebar}}, not this template. Primefac (talk) 15:28, 17 December 2017 (UTC)
- @Primefac: I don't suppose you could ask what changes might be made. I'm not well-versed in module editing.--Nevé–selbert 18:31, 17 December 2017 (UTC)
- That would require a change to {{sidebar}}, not this template. Primefac (talk) 15:28, 17 December 2017 (UTC)
- Might there be a way to force the sidebar to float alongside the text? Just an idea.--Nevé–selbert 03:14, 17 December 2017 (UTC)
- What does it look like when you use a different browser or a different device? -- Michael Bednarek (talk) 02:55, 17 December 2017 (UTC)
- @Primefac and Michael Bednarek: Tried purging the cache, doesn't make any difference. I must say that the sidebar appeared fine only a couple of days ago.--Nevé–selbert 02:49, 17 December 2017 (UTC)
- Hmmm, yes, it would seem to be a client-side issue; there's nothing in the sidebar code or the page code that would make a {{clear}} appear where it does in your image. I'll be honest, it's odd, but I can't seem to find anything that was recently changed to explain it. Have you tried purging the cache on that page, and see if it goes away? Primefac (talk) 15:26, 16 December 2017 (UTC)
- There's something odd going on in your browser. With Firefox (and Chrome and IE) it looks like this. -- Michael Bednarek (talk) 15:20, 16 December 2017 (UTC)
- @Primefac: See here.--Nevé–selbert 15:10, 16 December 2017 (UTC)
Module talk:Sidebar would be the place to punt that sort of request, though just from a quick glance it looks like sidebars are treated the same as infoboxes with regard to how it appears on the page (they are both floating already). At the very least it might be worth dropping a note at the module talk linking to this discussion. Primefac (talk) 18:40, 17 December 2017 (UTC)
- I could reproduce the problem in Margaret Thatcher in IE and Edge but only with certain combinations of zoom level and window width. If normal rendering would have placed a section heading immediately to the left of the top of {{Margaret Thatcher sidebar}} then the section heading instead moved below the sidebar, leaving blank space to the left of the sidebar. Fixed for me with {{stack}} in the article.[1] PrimeHunter (talk) 12:38, 28 December 2017 (UTC)