Skip to content

Commit 83ca015

Browse files
author
Simon L. Lange
committed
Faxe-381: Changed class names
1 parent ba5a160 commit 83ca015

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

web/themes/custom/fds_faxe_theme/src/styles/theme/components/_box.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
padding: 20px 20px;
3030
color: $color-black;
3131
background-color: #fff;
32+
3233
.field--name-field-os2web-icon {
3334
img {
3435
width: 65px;
@@ -124,6 +125,8 @@
124125
}
125126

126127

128+
129+
127130
// --------------------------------------------------
128131
// Responsive
129132
// --------------------------------------------------

web/themes/custom/fds_faxe_theme/templates/block/block--os2web-contact--sidebar-second.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{%
22
set classes = [
3-
'box',
3+
'sidebar__box',
44
'block',
55
'block-' ~ configuration.provider|clean_class,
66
'block-' ~ plugin_id|clean_class,
@@ -9,7 +9,7 @@
99
<div{{ attributes.addClass(classes) }}>
1010
{{ title_prefix }}
1111
{% if label %}
12-
<div class="box__heading">
12+
<div class="sidebar__box-heading">
1313
<h2{{ title_attributes.addClass('h4') }}>{{ label }}</h2>
1414
</div>
1515
{% endif %}

web/themes/custom/fds_faxe_theme/templates/block/related-links/block--os2web-pagebuilder-related-links--sidebar-second.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{%
22
set classes = [
3-
'box',
3+
'sidebar__box',
44
'block',
55
'block-' ~ configuration.provider|clean_class,
66
'block-' ~ plugin_id|clean_class,
@@ -9,13 +9,13 @@
99
<div{{ attributes.addClass(classes) }}>
1010
{{ title_prefix }}
1111
{% if label %}
12-
<div class="box__heading">
12+
<div class="sidebar__box-heading">
1313
<h2{{ title_attributes.addClass('h4') }}>{{ label }}</h2>
1414
</div>
1515
{% endif %}
1616
{{ title_suffix }}
1717
{% block content %}
18-
<div class="box__body">
18+
<div class="sidebar__box-body">
1919
{{ content }}
2020
</div>
2121
{% endblock %}

0 commit comments

Comments
 (0)