Skip to content

Commit

Permalink
breaking(footer): renamed contact-block to contact-wrapper
Browse files Browse the repository at this point in the history
- We need to keep -block naming to content that is coming from
  Volto blocks, if we just have sections in the footer then we
  need to choose another name for those sections
  • Loading branch information
ichim-david committed Jun 8, 2023
1 parent 5a2ba64 commit 2fbb7df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/ui/Footer/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Contact = ({ children, contacts }) =>
children?.length ? (
children
) : (
<div className="contact-block">
<div className="contact-wrapper">
{contacts?.map((contact, index) => (
<div className="contact" key={index}>
{isInternalURL(contact.link) ? (
Expand Down
14 changes: 7 additions & 7 deletions theme/themes/eea/extras/footer.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ footer .theme-sites {
}
}

.subfooter .contact-block {
.subfooter .contact-wrapper {
margin-bottom: @tabletContactBlockMarginBottom;
}

.contact-block .subcontact a {
.contact-wrapper .subcontact a {
font-size: @computerSubContactIconFontSize;
margin-right: @computerSubContactIconMarginRight;
font-weight: @computerSubContactIconFontWeight;
Expand Down Expand Up @@ -149,7 +149,7 @@ footer .footer-wrapper .menu {
font-weight: @mobileMenuCopyrightFontWeight;
}

.contact-block .subcontact {
.contact-wrapper .subcontact {
margin-top: @mobileSubcontactBlockMarginTop;
}
}
Expand All @@ -172,7 +172,7 @@ footer .footer-wrapper .menu {
padding-right: @siteLogoPaddingRight;
}

.contact-block {
.contact-wrapper {
padding-left: @siteLogoPaddingRight;
}
}
Expand All @@ -184,11 +184,11 @@ footer .footer-wrapper .menu {
gap: @tabletContactGap;
}

.subfooter .contact-block {
.subfooter .contact-wrapper {
margin-inline: @tabletContactBlockMarginInline;
}

.contact-block .subcontact a {
.contact-wrapper .subcontact a {
font-size: @tabletSubContactIconFontSize;
margin-right: @tabletSubContactIconMarginRight;
}
Expand Down Expand Up @@ -239,7 +239,7 @@ footer .footer-wrapper .menu {
}
}

.contact-block .subcontact a {
.contact-wrapper .subcontact a {
font-size: @computerSubContactIconFontSize;
margin-right: @computerSubContactIconMarginRight;
}
Expand Down

0 comments on commit 2fbb7df

Please sign in to comment.