@internetstiftelsen/styleguide 5.1.1 → 5.1.3-beta.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "5.1.1",
3
+ "version": "5.1.3-beta.0.1",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -110,17 +110,11 @@ div.aligncenter {
110
110
  }
111
111
 
112
112
  .wp-embed-aspect-16-9,
113
- .wp-embed-aspect-4-3 {
114
- .embed-container,
115
- [class*='wp-block-embed__wrapper'] {
116
- padding-bottom: 56.25%;
117
- }
118
- }
119
-
113
+ .wp-embed-aspect-4-3,
120
114
  .wp-block-embed-spotify {
121
115
  .embed-container,
122
116
  [class*='wp-block-embed__wrapper'] {
123
- padding-bottom: 113%;
117
+ padding-bottom: 56.25%;
124
118
  }
125
119
  }
126
120
 
@@ -9,6 +9,7 @@
9
9
  @use '../../configurations/colors/colors' as colors;
10
10
  @use '../../configurations/colors/colors-functions' as colorFunc;
11
11
  @use '../../vendor/grid/breakpoints' as breakpoint;
12
+ @use '../../vendor/baseline/plumber' as plumber;
12
13
 
13
14
  @include mixin.molecule(card) {
14
15
  display: flex;
@@ -113,6 +114,18 @@
113
114
  > :last-child {
114
115
  margin-bottom: 0;
115
116
  }
117
+
118
+ &:is(figcaption) {
119
+ p {
120
+ @include plumber.plumber(
121
+ $font-size: 1.7,
122
+ $line-height: 2,
123
+ $leading-bottom: 0
124
+ );
125
+
126
+ margin-top: 0 !important;
127
+ }
128
+ }
116
129
  }
117
130
 
118
131
  @include bem.e(text) {