IvanPletinskiy / Miner

0 stars 0 forks source link

Miner styles #1

Open MaximHoroneko opened 4 years ago

MaximHoroneko commented 4 years ago

In order to make your field fit into screen by height, you can give it height and width in vh units (which is not usual practice - we used to use vw units for width, but in this case it's ok since we need square shape of the field), remove all absolute sizing from your cells as well as anything that influences the structure of your field. Make rows and and field itself to be flex containers and play with it's properties such as flex-grow/basis/shrink for flex items. Obviously, you should make flex-direction: column for the field. There are some code style issues in your work, but I will point out them in next issues after you finish your task.

MaximHoroneko commented 4 years ago

Mail me if you have any questions