adamprocter
adamprocter

Any micro blog people know what I need to do to remove the big gaps above and below video in my css perhaps ? @help discursive.adamprocter.co.uk/2024/06/0…

|
Embed
Progress spinner
In reply to
kjz
kjz

@adamprocter try p:has(video) {margin-top: 0;}

|
Embed
Progress spinner
adamprocter
adamprocter

@kjz thanks it helps if I put -200px for small screen but then messes up once bigger (overlaps), I think its something to do with the video starts to get scaled down on smaller width the top margin increases, so I may have to add a couple of media queries / play with the theme css a little more

|
Embed
Progress spinner
sod
sod

@adamprocter video { height: auto; } should do it.

|
Embed
Progress spinner