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:
parent
1a399fcabc
commit
a853de45ce
@ -67,19 +67,6 @@ html[data-theme='dark'] .header-github-link:before {
|
|||||||
no-repeat;
|
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 {
|
.unleash-video-container {
|
||||||
display: grid;
|
display: grid;
|
||||||
--gap: 0.5em;
|
--gap: 0.5em;
|
||||||
@ -99,6 +86,10 @@ html[data-theme='dark'] .header-github-link:before {
|
|||||||
gap: var(--gap);
|
gap: var(--gap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video-wrapper {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.unleash-video-container > .admonition {
|
.unleash-video-container > .admonition {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: var(--unleash-color-admonition-background);
|
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%);
|
grid-template-columns: 1fr min(250px, 25%);
|
||||||
}
|
}
|
||||||
.unleash-video-container > .videos {
|
.unleash-video-container > .videos {
|
||||||
display: flex;
|
grid-template-columns: 1fr;
|
||||||
flex-direction: column;
|
|
||||||
gap: var(--gap);
|
gap: var(--gap);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user