Fix styling of embeds
This commit is contained in:
parent
41fccde9be
commit
5e4b0949c2
1 changed files with 3 additions and 3 deletions
|
|
@ -220,7 +220,7 @@
|
||||||
|
|
||||||
// Embed preview styles
|
// Embed preview styles
|
||||||
.embed-preview {
|
.embed-preview {
|
||||||
margin: $unit-2x 0;
|
margin-bottom: $unit-2x;
|
||||||
}
|
}
|
||||||
|
|
||||||
.youtube-embed-preview {
|
.youtube-embed-preview {
|
||||||
|
|
@ -231,7 +231,7 @@
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: $gray-95;
|
background: $gray-95;
|
||||||
border-radius: $card-corner-radius;
|
border-radius: $image-corner-radius;
|
||||||
border: 1px solid $gray-85;
|
border: 1px solid $gray-85;
|
||||||
|
|
||||||
iframe {
|
iframe {
|
||||||
|
|
@ -250,7 +250,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: $gray-97;
|
background: $gray-97;
|
||||||
border-radius: $card-corner-radius;
|
border-radius: $image-corner-radius;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid $gray-80;
|
border: 1px solid $gray-80;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue