CSS to increase map window size?

Bortas
Bortas

I'm disappointed by the relatively small size of the viewing port for uploaded maps. the width auto sizes to an appropriate width, based on your window, but the vertical size is exceedingly narrow. Does anyone know a CSS trick to expand that, say, 20% or so?

Thanks,

-bort

Comments

  • cgregory
    cgregory
    Posts: 780

    The map's vertical size is defaulted to 470px so you could increase it to say 600px that's what I have my maps set to.

    #selected-map-container {height: 600px!important;}

    this is one of those that seems to need the important override.

    Drop by my XCom site to see what maps set to 600 look like. 

     

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Bortas
    Bortas
    Posts: 645

    Ahhhhh sooo much more relaxing! Thanks for that!

    -bort

  • Calion
    Calion
    Posts: 144

    That is so much better, cgregory. You are my king.

    But while I'm at it, is there a way to change the default zoom level? Entering the map zoomed all the way in is inconvenient and confusing.

  • cgregory
    cgregory
    Posts: 780

    I think the default zoom level is controlled by google, but i'll take a look.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

Sign In or Register to comment.

April 2024
Season of Strife

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions