angularjs-google-maps icon indicating copy to clipboard operation
angularjs-google-maps copied to clipboard

Override 300px height

Open jodibean opened this issue 12 years ago • 2 comments

I'm trying to override the 300px default height of the map block and make it fill the height of the screen.

I've added the following to my css:

map, div[map] {display:block; height: 100%} .fill {height:100%}

When the map displays, I still see it set to 300px. How can I change this? Thanks.

jodibean avatar Oct 30 '14 19:10 jodibean

I will check the code again for this and make a fix if necessary. Mean while, you can add !important,so that 300px won't be applied

map, div[map] {display:block; height: 100% !important}
.fill {height:100% !important}

allenhwkim avatar Oct 30 '14 19:10 allenhwkim

After looking into the code, I found no issue with the current implementation. I also found out that if your css file is an external one, it is cached and your css update might not be applied. In that case, clear your cache.

allenhwkim avatar Oct 30 '14 20:10 allenhwkim