Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created December 15, 2018 14:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save productioncoder/70e0aa9baa33cee4bd9b7bc291ebd245 to your computer and use it in GitHub Desktop.
Youtube in React: kicking out hard-coded magic numbers
@import '../../styles/shared.scss';
.video-info-box {
/* ... */
grid: auto auto / calc(#{$avatar-diameter} + #{$avatar-margin}) auto max-content;
/* ... */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment