mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-31 14:11:54 +05:30
Add margins to video panel elements
This commit is contained in:
@@ -761,16 +761,54 @@ h1, h2, h3, h4, h5, p,
|
||||
}
|
||||
|
||||
div.compilation-video-panel {
|
||||
padding: 28.125%;
|
||||
display:flex;
|
||||
justify-content:flex-start;
|
||||
width:calc(100% - 20px);
|
||||
height:100px;
|
||||
border:1px solid #f0f0f0;
|
||||
margin: 10px;
|
||||
/*background: #d9d9d9;*/
|
||||
}
|
||||
|
||||
div.compilation-order-swap-arrows {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
justify-content:space-between;
|
||||
}
|
||||
|
||||
svg.compilation-video-swap-arrow {
|
||||
border: solid black;
|
||||
width:20px;
|
||||
height:50%;
|
||||
background-color: beige;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
div.compilation-video-input-panel {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
min-width: 0;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
div.compilation-video-title {
|
||||
display:flex;
|
||||
justify-content:flex-start;
|
||||
}
|
||||
|
||||
span.compilation-video-title {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.compilation-video-timestamps {
|
||||
display:flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
|
||||
div.compilation-video-thumbnail {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
img.compilation-video-panel {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
object-fit: cover;
|
||||
}
|
Reference in New Issue
Block a user