1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

docs: size video wrapper elements correctly

This commit is contained in:
Thomas Heartman 2022-01-26 13:05:51 +01:00
parent 1a399fcabc
commit a853de45ce

View File

@ -67,19 +67,6 @@ html[data-theme='dark'] .header-github-link:before {
no-repeat;
}
.unleash-video-wrapper {
/* container: inline-size / video-wrapper; */
/* resize: both; */
overflow: hidden;
}
/* @container video-wrapper size(max-width: 700px) { */
/* .unleash-video-container { */
/* background: red; */
/* } */
/* } */
.unleash-video-container {
display: grid;
--gap: 0.5em;
@ -99,6 +86,10 @@ html[data-theme='dark'] .header-github-link:before {
gap: var(--gap);
}
.video-wrapper {
display: flex;
}
.unleash-video-container > .admonition {
box-shadow: none;
background-color: var(--unleash-color-admonition-background);
@ -116,8 +107,7 @@ html[data-theme='dark'] .header-github-link:before {
grid-template-columns: 1fr min(250px, 25%);
}
.unleash-video-container > .videos {
display: flex;
flex-direction: column;
grid-template-columns: 1fr;
gap: var(--gap);
}
}