Skip to content

Commit a372601

Browse files
committed
OEL-2900: Changed from padding to margin links block.
1 parent 667d945 commit a372601

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/compositions/bcl-links-block/__snapshots__/links-block.test.js.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports[`OE - Links block renders correctly 1`] = `
1717
class="list-unstyled me-4-5"
1818
>
1919
<a
20-
class="pb-3 d-inline-block standalone"
20+
class="mb-3 d-inline-block standalone"
2121
href="/example.html"
2222
>
2323
European Commission
@@ -27,7 +27,7 @@ exports[`OE - Links block renders correctly 1`] = `
2727
class="list-unstyled me-4-5"
2828
>
2929
<a
30-
class="pb-3 d-inline-block standalone"
30+
class="mb-3 d-inline-block standalone"
3131
href="/example.html"
3232
>
3333
Priorities
@@ -37,7 +37,7 @@ exports[`OE - Links block renders correctly 1`] = `
3737
class="list-unstyled"
3838
>
3939
<a
40-
class="pb-3 d-inline-block standalone"
40+
class="mb-3 d-inline-block standalone"
4141
href="/example.html"
4242
>
4343
Jobs, Growth and Investment
@@ -65,7 +65,7 @@ exports[`OE - Links block renders correctly with horizontal 1`] = `
6565
class="list-unstyled me-4-5"
6666
>
6767
<a
68-
class="pb-3 d-inline-block standalone"
68+
class="mb-3 d-inline-block standalone"
6969
href="/example.html"
7070
>
7171
European Commission
@@ -75,7 +75,7 @@ exports[`OE - Links block renders correctly with horizontal 1`] = `
7575
class="list-unstyled me-4-5"
7676
>
7777
<a
78-
class="pb-3 d-inline-block standalone"
78+
class="mb-3 d-inline-block standalone"
7979
href="/example.html"
8080
>
8181
Priorities
@@ -85,7 +85,7 @@ exports[`OE - Links block renders correctly with horizontal 1`] = `
8585
class="list-unstyled"
8686
>
8787
<a
88-
class="pb-3 d-inline-block standalone"
88+
class="mb-3 d-inline-block standalone"
8989
href="/example.html"
9090
>
9191
Jobs, Growth and Investment
@@ -118,7 +118,7 @@ exports[`OE - Links block renders correctly with horizontal and with title and l
118118
class="list-unstyled me-4-5"
119119
>
120120
<a
121-
class="pb-3 d-inline-block standalone"
121+
class="mb-3 d-inline-block standalone"
122122
href="/example.html"
123123
>
124124
European Commission
@@ -128,7 +128,7 @@ exports[`OE - Links block renders correctly with horizontal and with title and l
128128
class="list-unstyled me-4-5"
129129
>
130130
<a
131-
class="pb-3 d-inline-block standalone"
131+
class="mb-3 d-inline-block standalone"
132132
href="/example.html"
133133
>
134134
Priorities
@@ -138,7 +138,7 @@ exports[`OE - Links block renders correctly with horizontal and with title and l
138138
class="list-unstyled"
139139
>
140140
<a
141-
class="pb-3 d-inline-block standalone"
141+
class="mb-3 d-inline-block standalone"
142142
href="/example.html"
143143
>
144144
Jobs, Growth and Investment
@@ -166,7 +166,7 @@ exports[`OE - Links block renders correctly with title 1`] = `
166166
class="list-unstyled me-4-5"
167167
>
168168
<a
169-
class="pb-3 d-inline-block standalone"
169+
class="mb-3 d-inline-block standalone"
170170
href="/example.html"
171171
>
172172
European Commission
@@ -176,7 +176,7 @@ exports[`OE - Links block renders correctly with title 1`] = `
176176
class="list-unstyled me-4-5"
177177
>
178178
<a
179-
class="pb-3 d-inline-block standalone"
179+
class="mb-3 d-inline-block standalone"
180180
href="/example.html"
181181
>
182182
Priorities
@@ -186,7 +186,7 @@ exports[`OE - Links block renders correctly with title 1`] = `
186186
class="list-unstyled"
187187
>
188188
<a
189-
class="pb-3 d-inline-block standalone"
189+
class="mb-3 d-inline-block standalone"
190190
href="/example.html"
191191
>
192192
Jobs, Growth and Investment
@@ -214,7 +214,7 @@ exports[`OE - Links block renders correctly with transparent background 1`] = `
214214
class="list-unstyled me-4-5"
215215
>
216216
<a
217-
class="pb-3 d-inline-block standalone"
217+
class="mb-3 d-inline-block standalone"
218218
href="/example.html"
219219
>
220220
European Commission
@@ -224,7 +224,7 @@ exports[`OE - Links block renders correctly with transparent background 1`] = `
224224
class="list-unstyled me-4-5"
225225
>
226226
<a
227-
class="pb-3 d-inline-block standalone"
227+
class="mb-3 d-inline-block standalone"
228228
href="/example.html"
229229
>
230230
Priorities
@@ -234,7 +234,7 @@ exports[`OE - Links block renders correctly with transparent background 1`] = `
234234
class="list-unstyled"
235235
>
236236
<a
237-
class="pb-3 d-inline-block standalone"
237+
class="mb-3 d-inline-block standalone"
238238
href="/example.html"
239239
>
240240
Jobs, Growth and Investment
@@ -267,7 +267,7 @@ exports[`OE - Links block renders correctly with transparent background and with
267267
class="list-unstyled me-4-5"
268268
>
269269
<a
270-
class="pb-3 d-inline-block standalone"
270+
class="mb-3 d-inline-block standalone"
271271
href="/example.html"
272272
>
273273
European Commission
@@ -277,7 +277,7 @@ exports[`OE - Links block renders correctly with transparent background and with
277277
class="list-unstyled me-4-5"
278278
>
279279
<a
280-
class="pb-3 d-inline-block standalone"
280+
class="mb-3 d-inline-block standalone"
281281
href="/example.html"
282282
>
283283
Priorities
@@ -287,7 +287,7 @@ exports[`OE - Links block renders correctly with transparent background and with
287287
class="list-unstyled"
288288
>
289289
<a
290-
class="pb-3 d-inline-block standalone"
290+
class="mb-3 d-inline-block standalone"
291291
href="/example.html"
292292
>
293293
Jobs, Growth and Investment

src/compositions/bcl-links-block/links-block.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{% endif %}
5757
{% set _link = _link|merge({
5858
clean_class: true,
59-
attributes: _link.attributes.addClass(['pb-3', 'd-inline-block', 'standalone'])
59+
attributes: _link.attributes.addClass(['mb-3', 'd-inline-block', 'standalone'])
6060
}) %}
6161
{% set _list_item_classes = 'list-unstyled' %}
6262
{% if _variant == 'horizontal' %}

0 commit comments

Comments
 (0)