tecman
  • Posts: 170
  • Joined: 20/09/2013
Well, I experimented with the YAF CSS code. It seems, the following setting in themes\Yafmobile\theme.css makes Code blocks look more-or-less adequate to other Quote and Attachment blocks in the same thread:

.yafnet div.code div, .yafnet div.code {
    max-width: 65vw;
}

( the original setting was 85vw )

BTW, you can reproduce all layout problems I get on my Android smartphone using the device emulation  in Chrome DevTools on a big pc (hope, you know this tool). It allowed me to reproduce exactly the same layout I see on my Android smartphone on my pc with Windows 10.
tha_watcha
  • Posts: 4038
  • Joined: 06/03/2010
Yes i use the tool. But when i view your forum everything is okay. even the buttons

UserPostedImage
UserPostedImage
tecman
  • Posts: 170
  • Joined: 20/09/2013
Now Code blocks look good as I changed their width to 65vw. You can use the DevTools and temporarily change this setting to the default value of 85vw to see the problem.
tha_watcha
  • Posts: 4038
  • Joined: 06/03/2010
Originally Posted by: tecman

Now Code blocks look good as I changed their width to 65vw. You can use the DevTools and temporarily change this setting to the default value of 85vw to see the problem.



Ah okay i change it.
UserPostedImage
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved