oni icon indicating copy to clipboard operation
oni copied to clipboard

tutorial screen become disorganized

Open pebble8888 opened this issue 8 years ago • 5 comments

macos 10.13.4 installed by brew cask install oni

2018-04-07 20 29 48

pebble8888 avatar Apr 07 '18 11:04 pebble8888

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Apr 07 '18 11:04 oni-bot

Ah yes, thanks for raising this issue @pebble8888 !

We don't handle the tutorial screen well if the height is below a certain amount (you can repro this on all platforms by resizing the window).

We should implement a more 'responsive' layout - if the height is below a certain threshold, perhaps we can move the description over above the 'notes' column

bryphe avatar Apr 07 '18 15:04 bryphe

Is this one rendered by Electron?

ShalokShalom avatar Apr 07 '18 16:04 ShalokShalom

@ShalokShalom - actually no, it's our fault, we control the rendering / layout here - just not accounting for smaller heights. We should add some logic to detect if the screen size is under a certain threshold, and if so, move the description over.

bryphe avatar Apr 07 '18 16:04 bryphe

@bryphe would a media query work there?

	@media (min-height:${smallDesktops}){
		flex-row: wrap;
	}

Making loads of assumptions about the layout, aka that its displaying flex etc. might also be an interesting opportunity to try a css grid layout

akinsho avatar Apr 07 '18 20:04 akinsho