cacao-css 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/src/embed/core/embed.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.4.0 (August 2, 2024)
|
|
4
|
+
|
|
5
|
+
- Removed aspect-ratio style from `embed`. Because this is set and the embed styles are typically loaded after the aspect ratio styles, this aspect-ratio style overrode the aspect-ratio class.
|
|
6
|
+
|
|
3
7
|
## 5.3.0 (August 1, 2024)
|
|
4
8
|
|
|
5
9
|
- Added "auto" width classes.
|
package/package.json
CHANGED
package/src/embed/core/embed.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Responsive embeds
|
|
3
|
+
You must use this in conjuction with an aspect-ratio class or style.
|
|
3
4
|
\* =========================================================================== */
|
|
4
5
|
|
|
5
6
|
.embed {
|
|
6
7
|
position: relative;
|
|
7
|
-
aspect-ratio: 16 / 9;
|
|
8
8
|
height: 100%;
|
|
9
9
|
flex-shrink: 0;
|
|
10
10
|
overflow: hidden;
|