@trilogy-ds/styles 4.0.5-beta-4 → 4.0.5-beta-5

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.
@@ -14,12 +14,6 @@ body:not(.is-tight) {
14
14
  .box:not(:last-child) {
15
15
  margin-bottom: 24px;
16
16
  }
17
- *:has(+ .divider):not(:last-child) {
18
- margin-bottom: 24px;
19
- }
20
- .divider:not(:last-child) {
21
- margin-bottom: 24px;
22
- }
23
17
  .table:not(:last-child) {
24
18
  margin-bottom: 24px;
25
19
  }
@@ -183,12 +177,6 @@ body:not(.is-tight) {
183
177
  .box:not(:last-child) {
184
178
  margin-bottom: 16px;
185
179
  }
186
- *:has(+ .divider):not(:last-child) {
187
- margin-bottom: 16px;
188
- }
189
- .divider:not(:last-child) {
190
- margin-bottom: 16px;
191
- }
192
180
  .table:not(:last-child) {
193
181
  margin-bottom: 16px;
194
182
  }
@@ -10,4 +10,20 @@
10
10
  padding: 0 $spacing-4;
11
11
  background-color: invertColor('neutral');
12
12
  }
13
+
14
+ &:not(.is-marginless) {
15
+ margin: $spacing-5 0;
16
+ }
17
+
18
+ @include mobile {
19
+ &:not(.is-marginless) {
20
+ margin: $spacing-4 0;
21
+ }
22
+ }
13
23
  }
24
+
25
+ *:has(+ .divider) {
26
+ margin-top: 0 !important;
27
+ margin-bottom: 0 !important;
28
+ }
29
+
@@ -1,7 +1,7 @@
1
1
  // Bullet list classiques
2
2
  ul.list,
3
3
  ol.list {
4
- list-style: disc inside;
4
+ list-style: disc ;
5
5
  display: grid;
6
6
  row-gap: $spacing-3;
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.0.5-beta-4",
3
+ "version": "4.0.5-beta-5",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [