Journal - 2021.11.03

Today I studied TypeScript Decorators. It's a powerful feature but, in some examples, a little difficult to understand at first glance. Nonetheless, I'm advancing with bravery and caution. 馃榿

On the CSS side, I learned more about flow layout, margin collapse rules, and an alternative (better, maybe?) way of setting the full height for a wrapper.

Instead of using 100vh for the wrapper height, set <html> and <body> height to 100% and then set the wrapper height (or min-height) to 100%. On mobile devices, 100vh produces a wrapper bigger than the screen before scrolling (when the address bar is still visible).

html, body { height: 100%; }
.wrapper { min-height: 100%; }

English is not my main language, but I'm trying to improve on it. If you find any errors, please let me know: @arthurvmdantas.