Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

The iframe fullscreen button leaves a margin above the game

A topic by gwheel created Oct 09, 2016 Views: 978 Replies: 1
Viewing posts 1 to 2

The builtin fullscreen button for html games misaligns the iframe in fullscreen mode. It puts it 20px lower than it should be, leaving a black bar at the top and cutting off the bottom of the game.

Adding 'margin: 0 !important' to the '.game_frame:fullscreen' css is enough to fix this.

I realise this is long into the future, but how would you add this CSS into the appropriate space? and where?

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.