Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.