Skip to content

Instantly share code, notes, and snippets.

@productioncoder
Created November 18, 2018 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save productioncoder/96b627a2ff77f049dd67673fe67f0124 to your computer and use it in GitHub Desktop.
Save productioncoder/96b627a2ff77f049dd67673fe67f0124 to your computer and use it in GitHub Desktop.
Youtube in React: update video preview styling
/* ... */
.video-preview {
/* ... */
&.horizontal {
/* ... */
&.expanded {
grid: auto / 246px auto;
}
}
}
.video-info {
/* ... */
.view-and-time {
margin-bottom: 10px;
}
.semi-bold {
&.expanded {
font-weight: 400;
font-size: 1.3rem;
}
font-weight: 600;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment