Jump to content

Block Layout Help (Mainly Cbox)


StormWolfe
 Share

Recommended Posts

Good Day,

 

First, I hate cboxes, but the site owner wants one so there we go 😉 

 

I have the cbox installed and have played with its width and height. I have the blocks layout set-up how we want them, but the cbox makes a mess on mobile devices. Below is the code I am using to set the blocks layout. Is there a better way to do it so that everything still works with mobile devices? Note: #block_12 is the cbox.

 

Site URL: https://mpiw-rpg.com

 

#block_6, #block_7, #block_9 {

    max-height: 250px;

    overflow: auto;}

#block_3, #block_10, #block_12 { flex: 1 1 100%; }

910290500_ScreenShot2020-03-19at10_25_09AM.thumb.png.c729286fd2d3a11905b382607da0f7b2.png

Someone somewhere went to sleep and dreamed us all alive.
Dreams get pushed around a lot, and I doubt if we'll survive.
We won't get to wake up, dreams were born to disappear.
And I'm pretty sure that none of us are here.
~ None of Us Here by Jim Stafford ~

 

sagas-button1.png.467e9214ee1a2d2a24c0030301948c27.png 

 

RPG-Initiative

*your one-stop RPG resource site!

Link to comment
Share on other sites

Set the cbox HTML for width 100%, so that it will adjust width on resolution.  As long as the parent container is not wider than necessary, it won't take up the entire screen. 

  • Love 1

nusignature.png nusignature.png

I am the darkness, always watching, always listening, ALWAYS THERE.
(If you're interested in Plain of Ice, message me, it's private. Bleach site, non-canon.)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.