Closed yevhenorlov closed 6 years ago
Great job!
This may come from css grid support specifics, but here is what I see in Chrome 63.0.3239.84 (64-bit, Windows 10): the rendered content is a bit wider than the port view.
Setting header { width: 100%; }
(instead of 100vw
) seems to fix the issue.
Thanks for your comments!
@viktor-yakubiv, I've fixed the BEM issue and removed commented code, and I'll keep in mind your tip about datetime
attribute for the next stage of the task - seems pointless to change it now, before there's any application logic in place. Appreciate your feedback 👍
@OleksiyRudenko, good catch. However, looks like there's an irritating issue with 100% width of the content on MacOS - when the scrollbar gets transparent, this silly gap appears:
So I've decided to keep the width: 100vw
and simply increase the padding from 10px to 20px, should work ok now. Thanks!
🍿 demo
📝 source
Thanks in advance!