Created
November 18, 2018 12:56
-
-
Save productioncoder/96b627a2ff77f049dd67673fe67f0124 to your computer and use it in GitHub Desktop.
Youtube in React: update video preview styling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ... */ | |
.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