News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

flex or grid CSS

Started by mickjav, May 08, 2022, 03:24:43 AM

Previous topic - Next topic

mickjav

Found One of my Themes was not playing nice with the code tag so decided to check All my theme, while checking the Default theme I noticed it had the same issue.

You cannot view this attachment.



Antechinus

No issue with default on my local test site. What have you done?

live627

Setting max-width: 0 on the code box might fix that :D

Antechinus


mickjav

Quote from: live627 on May 08, 2022, 04:27:11 AMSetting max-width: 0 on the code box might fix that :D

Sorry A Bit Dumb Here How can I do that!



Doug Heffernan

I think the relevant code for that can be found in the index.css file.

mickjav

Quote from: Doug Heffernan on May 08, 2022, 12:46:37 PMI think the relevant code for that can be found in the index.css file.

Thanks Have checked but don't know what I'm looking for so probably missed it.



Antechinus

Do not set max-width: 0; on the code box. That was a joke (it would make your code boxes vanish).

Just link us to a live example of the issue. I'm sure it's not hard to diagnose. :)

mickjav

Quote from: Antechinus on May 08, 2022, 04:25:58 PMDo not set max-width: 0; on the code box. That was a joke (it would make your code boxes vanish).

Just link us to a live example of the issue. I'm sure it's not hard to diagnose. :)

Thanks I've set the default theme to SMF Curve.

https://www.databasedreams.co.uk/support/index.php?action=showcases;sa=view;id=10

This is on the Code Library aka "showcases" but it uses same as topics but can post to a topic should you wish.

All the best mick



Antechinus

EZ Portal bug. It's forcing display flex on everything, and that is breaking the default theme. Hassle the mod's author about it. ;)

mickjav

Quote from: Antechinus on May 08, 2022, 05:04:18 PMEZ Portal bug. It's forcing display flex on everything, and that is breaking the default theme. Hassle the mod's author about it. ;)

Thanks Will Do lol



Advertisement: