broology / poker-moons

Free online poker with friends without the hassle.
4 stars 3 forks source link

chore(frontend): utilize transforms to make mobile experience usable #276

Closed jordems closed 1 year ago

jordems commented 1 year ago

Proposed Changes

Utilizes the css transform method and css media queries to make the mobile experience basically just a minified version of the desktop experience. Honestly not to shabby. One thing that will probably need to be changed is the card sizeing for the client player. But that can be another task.

Fun fact. if you provide multiple arguments to the transform property, it will apply them in the order they are given. So if you are doing scaling and translation, order does matter. I did not realize that.

Phone: 777ec59521eff233dd52e133626b149e

IPad: 49dbc39f3def2b52254e92072c706ea0

Desktop: 0164ed9e582c4ea3d40cb3cfea56e0f8

Linked Issue

resolves #268

Types of changes

Merge Checklist

Deployment Notes