Wikifunctions talk:Main Page/Archive/2025/02
| This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Overflow boxes
| An editor has requested that an edit is made to this protected page. |
Hi, I think there is a style rule or more that makes boxes flow out of parent elements (opposite direction of writing) when the screen width becomes less than 768px. The problem is more obvious in RTL languages. Maybe this rule, when disabled or changed to max-width the problem goes away, or maybe another one (I didn't check it carefully) --Mdktb (talk) 12:55, 6 February 2025 (UTC)
- I think adding
box-sizing: border-box;with this rule, also setpadding: 0;here will fix it --Mdktb (talk) 05:00, 7 February 2025 (UTC)
Overflow boxes
Hi, I think there is a style rule or more that makes boxes flow out of parent elements (opposite direction of writing) when the screen width becomes less than 768px. The problem is more obvious in RTL languages. Maybe this rule, when disabled or changed to max-width the problem goes away, or maybe another one (I didn't check it carefully) --Mdktb (talk) 12:55, 6 February 2025 (UTC)
- I think adding
box-sizing: border-box;with this rule, also setpadding: 0;here will fix it --Mdktb (talk) 05:00, 7 February 2025 (UTC) - Hi @Mdaniels5757, sorry to mention you, can you "please" check this out? if you visit the main page and choose RTL lang. then reduce the window width size the content boxes will overflow out to the left, thx in advance --Mdktb (talk) 03:20, 10 March 2025 (UTC)
- @Mdktb Done, hopefully that helps? Let me know! —Mdaniels5757 (talk • contribs) 16:38, 12 March 2025 (UTC)
- Hi @Mdaniels5757, thx, but
box-sizing: border-box;should be in class.mainpage_boxto work, andpadding: 0;is important for the mobile version so that the boxes do not become small, it is better to take the full width. It's less overflow now, but not perfect to be honest --Mdktb (talk) 17:07, 12 March 2025 (UTC) - Maybe
padding: 0 0.5rem;would be a good compromise --Mdktb (talk) 17:14, 12 March 2025 (UTC)- @Mdktb Sorry, is Special:Diff/173459 better? —Mdaniels5757 (talk • contribs) 19:56, 13 March 2025 (UTC)
- @Mdaniels5757, yes, thank you --Mdktb (talk) 23:39, 13 March 2025 (UTC)
- @Mdktb Sorry, is Special:Diff/173459 better? —Mdaniels5757 (talk • contribs) 19:56, 13 March 2025 (UTC)
- Hi @Mdaniels5757, thx, but
- @Mdktb Done, hopefully that helps? Let me know! —Mdaniels5757 (talk • contribs) 16:38, 12 March 2025 (UTC)